-3

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.

gnat
  • 6,213
  • 108
  • 53
  • 73
Rajesh
  • 91
  • 1
  • 2
  • 6
  • 1
    stackoverflow also provides the possibility to upload images - that makes it a lot easier to view – DonGru Sep 15 '11 at 10:29
  • Yeah,but while i'm posting this error came.so only i posted like this. `We're sorry, but as a spam prevention mechanism, new users aren't allowed to post images. Earn more than 10 reputation to post images.` – Rajesh Sep 15 '11 at 10:34

1 Answers1

1

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.

bharath
  • 14,283
  • 16
  • 57
  • 95