演示程序可以是简单的
我正在创建一个程序,其中我想在单击按钮时显示对话框(显示是/否命令),显示对话框后,单击是按钮时它会移动到另一个窗体,你能帮助我完成此任务吗?请尽快告诉我。
I am creating a program in which i want to display dialog box(which shows yes/no command) when button clicked, after dialog box has been shown, when clicking yes button it moves to another form, can you help me to achieve this task? please let me know as soon as possible.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
此处查看 LWUIT 存储库... 在此存储库中包含 LWUIT 示例应用程序。请参阅示例代码。并这样做..
Checkout the LWUIT repository here... In this repository contains LWUIT sample applications. See the sample code. and do like this..
查看 Alert 类(链接文本,表单类,以及显示内容的 Display 方法,这是非常基本的东西,您会发现大量的示例/教程
ps:纯 MIDP,不涉及 LWUIT。
Have a look at the Alert class (link text, the Form class, and the Display method to show stuff. That's pretty basic stuff and you'll find tons of examples / tutorials out there.
ps: Pure MIDP no LWUIT involved.