import javax microedition lcdui Display import javax microedition midl

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
public class Banking extends MIDlet {
private Languages lang;
private String menu[];
private String settings_menu[];
public Banking() {
lang = new Languages();
lang.language = "ru"; //temporarily
menu[] = {lang.getWord(0), lang.getWord(1), lang.getWord(2)}; //error :(
}
public void startApp() {
Display.getDisplay(this).setCurrent(new Splash());
try {
Thread.sleep(1000);
} catch (InterruptedException ex) {
ex.printStackTrace();
}
}
public void pauseApp() {
}
public void destroyApp(boolean unconditional) {
notifyDestroyed();
}
}