www.pudn.com > RPGDemo.rar > RPGMIDlet.java


import javax.microedition.midlet.MIDlet; 
import javax.microedition.midlet.MIDletStateChangeException; 
 
import javax.microedition.lcdui.*; 
 
public class RPGMIDlet extends MIDlet { 
	static Display display; 
	public RPGMIDlet() { 
		display = Display.getDisplay(this); 
		display.setCurrent(new RPGCanvas()); 
	} 
 
	protected void destroyApp(boolean arg0) throws MIDletStateChangeException { 
		// TODO Auto-generated method stub 
 
	} 
 
	protected void pauseApp() { 
		// TODO Auto-generated method stub 
 
	} 
 
	protected void startApp() throws MIDletStateChangeException { 
		// TODO Auto-generated method stub 
 
	} 
 
}