在j2me中设计表单 [英] Desigining a Form in j2me

查看:65
本文介绍了在j2me中设计表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在J2ME中设计表单而不使用 Canvas类,该类具有类似于List的结构和一个图像作为标题.

I am trying to design a Form in J2ME without the use of Canvas class which has List like structure and an image as a Header.

我想添加命令按钮(确定),因此,单击它...我可以在列表中选择一个特定项目,然后导航到下一个屏幕.

I want to add command button (OK) So by clicking on it ... i can choose a particular item in list and get navigated to next Screen.

推荐答案

只需从该图像创建一个ImageItem.取一个表单,然后将该图像添加到表单中.并添加列表,如果您使用的是netbeans ide,则可以通过以下操作查看各种UI示例:File> New project> Category:Samples> UI Demo,然后单击Finish.并运行该项目.通过观察样本,您将有想法.

Just create a ImageItem from that image. Take a form and add that image to the form. And to add list, if you are using netbeans ide, you can see various UI examples by doing this: File>New project>Category:Samples>UI Demo then click finish. And run the project. By observing the samples there you will have idea.

这篇关于在j2me中设计表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆