⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rentalhousingconditions.java

📁 j2me实现的移动警务的大概框架
💻 JAVA
字号:
package PoliceSearch.CommunityPolicing;import javax.microedition.lcdui.*;import PoliceSearch.*;import PoliceSearch.Com.*;import PoliceSearch.IntegratedInformation.*;/** * <p>Title: 公安查询系统</p> * <p>Description: 章桂华</p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: otheno</p> * @author 章桂华等 * @version 1.0 */public class RentalHousingConditions    extends Form    implements CommandListener {  private IntegratedInfMenu parent;  private TextField tfRtalHouseNo; //"出租屋编号"  private TextField tfRtalHouseAddr; //"出租屋地址"  private TextField tfRtalHouseOwner; //"出租屋房东"  public RentalHousingConditions(IntegratedInfMenu iiMenu) {    super("出租房屋查询");    parent = iiMenu;    try {      jbInit();    }    catch (Exception e) {      Log.except(e.toString());    }  }  private void jbInit() throws Exception {    this.append(tfRtalHouseNo = new TextField("出租屋编号", "*CZ9865343*", 30,TextField.ANY));    this.append(tfRtalHouseAddr = new TextField("出租屋地址", "*南昌市丰和南大道696号*", 40,TextField.ANY));    this.append(tfRtalHouseOwner = new TextField("出租屋房东", "*王海*", 30,TextField.ANY));    addCommand(Resources.Cmd_Queren);    addCommand(Resources.Cmd_Back);    setCommandListener(this);    display();  }  /**   * 功能:显示当前页面   */  public void display() {    Display.getDisplay(PoliceMain.instance).setCurrent(this);  }  /**   * 事件监听函数   * @param command-按纽号ID   * @param displayable-显示设备ID   */  public void commandAction(Command command, Displayable displayable) {    if (displayable.equals(this)) {      if (command.equals(Resources.Cmd_Back)) {        parent.displaySubMenu();      }      if (command.equals(Resources.Cmd_Queren)) {        (new RentalHousingResults(parent)).display();      }    }  } //}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -