Java 有没有办法设置可编辑的J2ME lwuit组合框?
是否有任何方法可以设置为可编辑?我需要在我的程序中为组合框设置可编辑。正在寻找即时答案Java 有没有办法设置可编辑的J2ME lwuit组合框?,java,combobox,java-me,lwuit,Java,Combobox,Java Me,Lwuit,是否有任何方法可以设置为可编辑?我需要在我的程序中为组合框设置可编辑。正在寻找即时答案 public class customer_addcustomer extends Form implements ActionListener{ MIDlet midlet; private final ComboBox c1; public customer_addcustomer(final MIDlet midlet) { super("."); this.midlet=midlet;
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);
}}
Codename One有一个
AutoCompleteTextField
,实际上就是这样。Codename One有一个AutoCompleteTextField
,实际上就是这样