I get an error while using import javax.microedition.lcdui.*;
package javax.microedition.lcdui.* does not exist.
But the line import javax.microedition.midlet.MIDlet;
does not give any error.
Imoprt lcdui jar file in your application library. You can download this jar file from here. Download Jar file
Compiling 1 source file to e:\jmeapp\JavaMEApplication12\build\classes e:\jmeapp\JavaMEApplication12\src\javameapplication12\JavaMEApplication12.java:9: error: package javax.microedition.lcdui does not exist import javax.microedition.lcdui.*; 1 error e:\jmeapp\JavaMEApplication12\nbproject\build-impl.xml:432: The following error occurred while executing this line: e:\jmeapp\JavaMEApplication12\nbproject\build-impl.xml:253: Compile failed; see the compiler error output for details. BUILD FAILED (total time: 1 second)
The import statement import javax.microedition.lcdui.*; – Reshma CB Dec 02 '14 at 08:08