Lcdui and midlet packages does not exist in netbeans

431 views Asked by At

in my netbeans 7.0.1 there is an error package does not exist for lcdui and midlet package,I have added java(TM) SDK platform and Wireless toolkit platform but still i'm gettin the error..here is the screenshot. http://www.servimg.com/image_preview.php?i=2&u=16857357

Please help me.

1

There are 1 answers

0
bharath On

I think you are creating the Java application. Because that project icon (coffee cup) shows Java Application. ;) Don't create the Java Application for Java ME mobile application. Choose the Java ME application under Java ME. Mobile icon showing while create the Java ME mobile application.

File -> New -> Java ME -> Mobile Application or Mobile Class Library.

Don't create File -> New -> Java -> Java Application for mobile application. For more info look this article, How to create a simple MIDlet application with NetBeans.