有没有办法设置可编辑的J2ME lwuit组合框?

时间:2015-08-06 06:30:09

标签: 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;


     c1=new ComboBox();//I need to set editable for combo box

    Container cc=new Container(new FlowLayout(CENTER));

   cc.addComponent(c1);
    this.addComponent(cc);

     }}

1 个答案:

答案 0 :(得分:0)

Codename One有一个AutoCompleteTextField,实际上就是这个。