Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to disable combobox items  RSS feed

 
Anuj Joshi
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How to disable perticular item in comboBox.
I have a ComboBox with names stored in it.
on some codition I have to make some names disable.
So how can I do this?
 
Christian Dillinger
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Implement it in your model so it doesn't list them. But that's no topic for this forum.... Goto Swing or AWT.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!