www.pudn.com > circumgyrate.rar > circumgyrate.java


//package com.circumgyrate; 
 
import javax.microedition.lcdui.*; 
import javax.microedition.midlet.*; 
 
/** 
 * 

Title:

*

Description:

*

Copyright: Copyright (c) 2004

*

Company:

* @author not attributable * @version 1.0 */ public class circumgyrate extends MIDlet { private Display display; private ViewCanvas canvas; public circumgyrate() { super(); display = Display.getDisplay(this); canvas = new ViewCanvas(this); } protected void startApp() throws MIDletStateChangeException { display.setCurrent(canvas); // 设置显示画布对象 } protected void pauseApp() { } protected void destroyApp(boolean arg0) throws MIDletStateChangeException { } public void exitMIDlet() { try { destroyApp(true); } catch (MIDletStateChangeException e) { } notifyDestroyed(); } }