有没有办法设置可编辑?我需要在程序中为组合框设置可编辑。立即回答......
public class customer_addcustomer extends Form implements ActionListener{
MIDlet midlet;
private final ComboBox c1;
public customer_addcustomer(final MIDlet midlet) {
super(".");
this.midlet=midlet;
c1=new ComboBox();//I need to set editable for combo box
Container cc=new Container(new FlowLayout(CENTER));
cc.addComponent(c1);
this.addComponent(cc);
}}
答案 0 :(得分:0)
Codename One有一个AutoCompleteTextField
,实际上就是这个。