请问 在wtk中做好的jar 问什么
在nokia E65中只显示一张图片 报错说:“无法处理的异常”
主程序如下
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.media.*;
import javax.microedition.lcdui.game.*;
public class Archery extends MIDlet implements CommandListener {
Display display = null;
private Command cmdExit = new Command( "Exit ", Command.STOP, 1);
private GameFrameCanvas can = null;
public Archery() {
display = Display.getDisplay(this);
can = new GameFrameCanvas(false);
can.addCommand(cmdExit);
can.setCommandListener(this);
}
public void startApp() throws MIDletStateChangeException {
display.setCurrent(can);
can.startgame();
}
public void pauseApp() {
}
public void destroyApp(boolean unconditional) {
can.gameover();
}
/**
* 退出按钮事件
*/
public void commandAction(Command c, Displayable d) {
if (c == cmdExit) {
notifyDestroyed();
}
}
}
class GameFrameCanvas extends GameCanvas implements Runnable{
//游戏结束标志
private boolean gameover = false;
//小新换装图像
private Image xiaoxin;
private Image xiaoxin1;
private Image xiaoxin2;
private Image xiaoxin3;
private int con_xxframe=0;
//private Sprite xiaoxin_S;
//眉毛图像
private Image meimao;
private int con_mm=0;