手持移动设备JME应用开发研究报告.pptVIP

  • 3
  • 0
  • 约2.09万字
  • 约 76页
  • 2019-11-04 发布于天津
  • 举报
List try { // 从资源目录读取图片资源 Image icon = Image.createImage(/Icon.png); // 注意,每个List选项都需要一个图标 imageArray = new Image[] { icon, icon, icon, icon }; } catch (java.io.IOException err) { System.out.print(load failed ...); } // 屏幕类表项的名称 String[] stringArray = { List 1, List 2, List 3, List 4 }; // 创建一个隐患的列表屏幕对象 mainList = new List(Choose type, Choice.IMPLICIT, stringArray,imageArray); // 显示List屏幕 display.setCurrent(mainList); firstTime = false; } } protected void pauseApp() { } protected void destroyApp(boolean

文档评论(0)

1亿VIP精品文档

相关文档