📄 choicegroupmidlet.java
字号:
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
public class ChoiceGroupMIDlet extends MIDlet
{
private Display display;
public ChoiceGroupMIDlet()
{
display = Display.getDisplay(this);
}
public void startApp()
{
Image imgm = null ;
Image imgf = null ;
try
{
imgm = Image.createImage("/male.png") ;
imgf = Image.createImage("/female.png") ;
}catch(Exception e){}
Form f = new Form("ChoiceGroup代刚") ;
ChoiceGroup cg1 = new ChoiceGroup("虫匡
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -