• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

looking for some component most likely to JComboBox

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I need an extra functionality to JComboBox:

"To have another item room, but editable (like a text field)"

More explanations:
i can use a JComboBox for example has three items (simple strings, say some addresses), so i want something like JTextField, editable to be within one of these items to be displayed/edited/selected

Any suggestion will be so gratifying...
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How would this be different from an editable JComboBox?
 
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree to Ulfs comment. In an editable JComboBox you can select from defined values and provide another one (typing like in JTextField) as well. If that's not enough or not what you're looking for, please TellTheDetails.
 
Esmaeil Ashrafi
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am so sorry, still i can not believe that i made such an ignorant and just dropped my question here before take a precise look at documentations....
I used this component several times already, but always with predefined values and couldn't imagine that can be editable.

Thank you for mentioning
reply
    Bookmark Topic Watch Topic
  • New Topic