File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 187

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: 187
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
Can I force components to front?
JComboBox ActionListenet problem
combobox is not updating in Swing GUI
Problem with updating look and feel colors of swing components dynamically
reseting combo box values