Reputation: 13
I've a JTable where each cell from a column to contain a list of JCheckBox (to select multiple skills from the list) Any idea how to do that or an alternate way?
Thanks,
Upvotes: 1
Views: 320
Reputation: 13
Actually I'd need something like this combobox. The user should be able to select multiple values in a 16 items list.
[edit] I found what I was looking for here
Upvotes: 0
Reputation: 57381
You can use a JPanel (and add desired amount of JCheckboxes to the panel) as the TableCellRenderer.
Or you can create a TableCellRenderer based on JTable (e.g. 1 column with checkboxes in rows)
Upvotes: 3