*
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: 190

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: 190
I found that

Thanks anyway

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: check if JcomboBox is contain string