www.pudn.com > TWPlaneGame.rar > AppExiter.java


package twplanegame;

import javax.microedition.lcdui.*;

interface AppExiter
{
   /**
    * Since many screens will be using the EXIT command then define it
    * onecd and make a public final.
    */
   public static final Command EXIT = new Command("Exit", Command.EXIT, 1);
   /**
    * Indicates that the app must exit.
    */
   public void exitApp();
}