www.pudn.com > 20063622273380188.rar > Title.java
import javax.microedition.lcdui.Canvas;
import javax.microedition.lcdui.Font;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;
class Title extends Canvas
{
private StartApp s;
private Restore restore;
private boolean used[],goOn;
private int width=getWidth(),height=getHeight(),x,y,select,alert,onMenu,pX,pY,charW,charH;
private final int NEWGAME=1,LOADGAME=2,INPUT=3,MENU=0,WAIT=4,d=8;
private String names[],string="请稍候";
private int level[];
private Image attention;
private char alpha[],inputs[];
private Font font;
private Load load;
public Title(StartApp s)
{
this.s=s;
restore=new Restore();
used=restore.getRecordUsed();
names=restore.getName();
level=restore.getLevel();
x=12;
y=17;
select=0;
alert=0;
inputs=new char[5];
for(int i=0;i