?? adressbook.java
字號:
package com.viacube.j2me.component;
import mwt.Button;
import mwt.EventListener;
import mwt.Label;
import com.viacube.j2me.model.ImageList;
public class AdressBook extends SubWindow implements EventListener{
Button button;
String[] s = {"Xiao Wang","He Li"};
public AdressBook(int x, int y, int width, int height) {
super(x, y, width, height,true);
add(new Label(2,3,60,10,"AdressBook"));
for(int i=0;i<2;i++){
button = new Button(1, 14+i*20, width-2, 15, "", this, ACTION_SELECT);
button.setText(s[i]);
button.setIconImage(ImageList.small[2]);
add(button);
}
// this.setEnabled(false);
}
// public void processEvent(int eventType, Component c, Object[] args) {
//
// }
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -