import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class Main extends MIDlet{ public void startApp(){ Line myLine = new Line(); Display.getDisplay(this).setCurrent(myLine);} public void pauseApp(){} public void destroyApp(boolean un){} }