文件名称:Check-Box-Midlet-Example
- 所属分类:
- JSP源码/Java
- 资源属性:
- [PDF]
- 上传时间:
- 2012-11-26
- 文件大小:
- 219kb
- 下载次数:
- 0次
- 提 供 者:
- Samir******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
This example illustrates how to create check boxes in to
your form. In this example we are creating a
Form("Technologies") that is having four different
choices, ChoiceGroup("JAVA", "J2ME", "J2EE",
"JSF"). if user select a check box and click on
"Choose" button then the selected item will be display
on the form. We are using StringItem to display the
selected item on the form. We are creating a variable of
array type ("message[ ]") and stored the size of selected
item in it. Next we are creating a boolean type array
("get[ ]") to store the size of selected item then we have
given a condition if get[] returns true then this will display the StringItem() with message and String value
of selected item. The StringItem has only 2 methods that is:
your form. In this example we are creating a
Form("Technologies") that is having four different
choices, ChoiceGroup("JAVA", "J2ME", "J2EE",
"JSF"). if user select a check box and click on
"Choose" button then the selected item will be display
on the form. We are using StringItem to display the
selected item on the form. We are creating a variable of
array type ("message[ ]") and stored the size of selected
item in it. Next we are creating a boolean type array
("get[ ]") to store the size of selected item then we have
given a condition if get[] returns true then this will display the StringItem() with message and String value
of selected item. The StringItem has only 2 methods that is:
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Check Box Midlet Example.pdf