-2

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

4

2 回答 2

1

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

Dialog.show("Sample", "Put ur information", "Ok", "Cancel");
于 2010-12-17T12:51:30.190 回答
-1

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.

于 2010-12-17T13:54:12.980 回答