• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

looking for some component most likely to JComboBox

 
Esmaeil Ashrafi
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • 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...
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would this be different from an editable JComboBox?
 
Peter Taucher
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic