演示程序可以是简单的

发布于 2024-10-08 17:54:31 字数 85 浏览 0 评论 0原文

我正在创建一个程序,其中我想在单击按钮时显示对话框(显示是/否命令),显示对话框后,单击是按钮时它会移动到另一个窗体,你能帮助我完成此任务吗?请尽快告诉我。

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

本王不退位尔等都是臣 2024-10-15 17:54:31

此处查看 LWUIT 存储库... 在此存储库中包含 LWUIT 示例应用程序。请参阅示例代码。并这样做..

Dialog.show("Sample", "Put ur information", "Ok", "Cancel");

Checkout the LWUIT repository here... In this repository contains LWUIT sample applications. See the sample code. and do like this..

Dialog.show("Sample", "Put ur information", "Ok", "Cancel");
深海不蓝 2024-10-15 17:54:31

查看 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文