📄 info.java
字号:
/*
* INFO.java
* 统一的信息窗口
* 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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -