Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当您要求用户插入他或她的用户名和密码时,如何在 Java ME 中从游戏画布导航到表单?
创建表单并向其添加一些“OK”命令。
要显示表单,您必须执行以下操作:
Display.getDisplay(this).setCurrent(yourForm);
使用该 OK 命令时,您应该执行以下操作:
Display.getDisplay(this).setCurrent(yourCanvas);
并从表单中读取数据