?? phonebookmidlet.java
字號:
package com.hziee.phone_book;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
import com.hziee.phone_book.model.*;
import com.hziee.phone_book.ui.*;
public class PhoneBookMIDlet extends MIDlet {
private UIController uicontroller;
private Model model;
public Model getModel()
{
return model;
}
public UIController getUicontroller()
{
return uicontroller;
}
public PhoneBookMIDlet() {
// TODO 自動生成構(gòu)造函數(shù)存根
}
protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
// TODO 自動生成方法存根
}
protected void pauseApp() {
// TODO 自動生成方法存根
}
protected void startApp() throws MIDletStateChangeException {
// TODO 自動生成方法存根
try
{
uicontroller = new UIController(PhoneBookMIDlet.this);
model = new Model();
uicontroller.init(model);
} catch (ApplicationException e)
{
System.out.println("Error when initial the record Store");
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -