?? info.java
字號:
/*
* INFO.java
* 統(tǒng)一的信息窗口
* Created on 2007年3月11日, 下午5:49
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package net.bccn.account.ui;
import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.AlertType;
/**
*
* @author hadeslee
*/
public class INFO extends Alert{
private static INFO me;
/** Creates a new instance of INFO */
private INFO() {
super("信息");
this.setString("這是信息顯示窗口");
this.setType(AlertType.ERROR);
this.setTimeout(Alert.FOREVER);
}
public static INFO getInstance(AlertType at,String info){
if(me==null){
me=new INFO();
}
me.setType(at);
me.setString(info);
return me;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -