有什么办法可以设置Editable吗?我需要在程序中为组合框设置可编辑。寻找即时答案...
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
,实际上就是这样。
关于java - 有没有办法设置可编辑的 J2ME lwuit 组合框?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31848310/