Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.
1.72k
stars
409
forks
source link
AutoCompleteTextField component works only at first tab in tabs component but not for second tab and respectively next tabs. #1627
Closed
santoshko closed 8 years ago
Example: Tabs t = new Tabs(); ListModel list = new DefaultListModel();
list.addItem("santosh");
list.addItem("sagar");
list.addItem("Afaque");
list.addItem("Akash");
list.addItem("sushma");
list.addItem("akil");
list.addItem("srikanth");
AutoCompleteTextField actxt = new AutoCompleteTextField(list);
AutoCompleteTextField at = new AutoCompleteTextField(new String[]{"Common", "Code", "Codename One", "Correct", "Correlation", "Co-location", "Corporate"});
t.addTab("AC", actxt);
t.addTab("BC", at);
t.setSelectedIndex(0);
addComponent(t);