• Post Reply Bookmark Topic Watch Topic
  • New Topic

how JComboBox can have unique items ?

 
Mahajan Bhupendra
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
is there any built-in way so that we can have
unique item in JComboBox if i add new item old one should get
replaced by it..
Bhupendra Mahajan
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no built-in support for that, no.
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
 
Vinod Venugopal
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What if we create a custom combobox using a list Michael? will it help?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!