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开发者_C百科 Wireless toolkit platform
but still i'm gettin the error..here is the screenshot.
Please help me.
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.
精彩评论