代表屏幕,每个 MIDlet 类只能使用一个 Display 类。
| 方法/属性 | 描述 |
|---|---|
| Static Display getDisplay(MIDlet) | 获取 MIDlet 的显示设备对象(静态) |
| void setCurrent(Displayable nextDisplayable) | 显示一个可显示对象 |
| 参数 | 描述 |
|---|---|
| Display d = Display.getDisplay(MidLet); // 必须这样取得显示设备 Form f = new Form("title"); // 生成一个 Displayable 类对象 d.setCurrent( f ); // 显示 Displayable 类对象 |