Reputation: 1628
I want to know how can i make a swing comboBox like this one:
Actually i got this one from web framework like jquery and html but in swing can we make a multiselect combobox like this?
Upvotes: 0
Views: 61
Reputation: 42176
You're going to have to create your own custom component; there isn't going to be a magical out-of-the-box solution.
You do this be extending an existing component, or by creating a class that combines multiple components. In this case you might create a JPanel that holds both a JComboBox and a JPanel, and that JPanel would hold your JCheckBoxes.
Upvotes: 1