How do I make a list with checkboxes in Java Swing?
A wonderful answer is this CheckBoxList. It implements Telcontar’s answer (though 3 years before :)… I’m using it in Java 1.6 with no problems. I’ve also added an addCheckbox method like this (surely could be shorter, haven’t used Java in a while): public void addCheckbox(JCheckBox checkBox) { ListModel currentList = this.getModel(); JCheckBox[] newList = new … Read more