wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes check if JcomboBox is contain string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "check if JcomboBox is contain string" Watch "check if JcomboBox is contain string" New topic
Author

check if JcomboBox is contain string

chen young
Ranch Hand

Joined: Sep 09, 2005
Posts: 188

Hi,

I created a JDialog that contain JComboBox and JButton.
I want to disable the button whenever the combo is not contain string ,means if the user start typing in the combo then the button will be enable.

How can I check if JcomboBox is contain string ?

Thanks

chen young
Ranch Hand

Joined: Sep 09, 2005
Posts: 188
I found that

Thanks anyway

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: check if JcomboBox is contain string
 
Similar Threads
combobox is not updating in Swing GUI
Problem with updating look and feel colors of swing components dynamically
Can I force components to front?
reseting combo box values
JComboBox ActionListenet problem