• Post Reply Bookmark Topic Watch Topic
  • New Topic

Multi JCombo ?

 
Christian Haag
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
i have the following data: A big number of choices with 10 subchoices for each and 10 subsubchoices. Now I want a component where i can choose one of this 10000 choices. A simple menu is not good because of the 100 choices in the first menu. So i tried to use a JComboBox. But i failed to get the sub- and subsubchoices displayed when an item in the combo is selected. Any suggestions?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a perfect job for JTree...

Just put it in a JScrollPane so the user can scroll through the 100+ first choices.

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