How should your MIDlet skeleton should look like. A MIDlet must have a public default constructor (that is, a constructor that requires no arguments), that are used for any initialization to perform or, when there are no explicit constructors, the empty default constructor is inserted by the Java compiler.

 public class MyMIDlet extends MIDlet {
    
    // Optional constructor
    MyMIDlet( ) {
        
    }
    
    protected void startApp( ) throws MIDletStateChangedException {
        
    }
    
    protected void pauseApp( ) {
        
    }
    
    protected void destroyApp(boolean unconditional) 
        throws MIDletStateChangedException {
        
    }
}