?? userdatascreen.java
字號:
import javax.microedition.io.*;
import java.io.*;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import java.util.*;
public class UserDataScreen extends Form implements CommandListener
{
public UserDataScreen(Vector v)
{
super("用戶數據") ;
Enumeration enum = v.elements() ;
while(enum.hasMoreElements())
{
append((String)enum.nextElement());
}
addCommand(new Command("離開",Command.EXIT,1)) ;
addCommand(new Command("回主功能",Command.BACK,1)) ;
setCommandListener(this) ;
}
public void commandAction(Command c,Displayable s)
{
String cmd = c.getLabel() ;
Navigator.flow(cmd) ;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -