Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

check if JcomboBox is contain string  RSS feed

 
chen young
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found that

Thanks anyway

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!