Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!