• Post Reply Bookmark Topic Watch Topic
  • New Topic

Want to add a dropdown Jlist

 
abhijeet shrivastava
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I want to add a dropdown list which allows me multiple selection unlike comboboxes which allows only one selection.I am not geeting the clue which swing class should be used.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A dropdown style list won't allow you to do this. You should use a JList.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!