aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes looking for some component most likely to JComboBox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "looking for some component most likely to JComboBox" Watch "looking for some component most likely to JComboBox" New topic
Author

looking for some component most likely to JComboBox

Esmaeil Ashrafi
Ranch Hand

Joined: Feb 22, 2010
Posts: 73
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...


I'm really tired of being engaged with stuff other than Java and programming

Wish to get back soon to my love...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42951
    
  72
How would this be different from an editable JComboBox?
Peter Taucher
Ranch Hand

Joined: Nov 18, 2006
Posts: 174
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.


Censorship is the younger of two shameful sisters, the older one bears the name inquisition.
-- Johann Nepomuk Nestroy
Esmaeil Ashrafi
Ranch Hand

Joined: Feb 22, 2010
Posts: 73
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: looking for some component most likely to JComboBox