todo items and minor tweaks

This commit is contained in:
Ben Fry
2014-11-14 15:07:37 -07:00
parent 64d3bee4a5
commit f4ce5e5a1f
3 changed files with 30 additions and 10 deletions

View File

@@ -836,8 +836,7 @@ class CheckBoxList extends JList<JCheckBox> {
int index = locationToIndex(e.getPoint());
if (index != -1) {
JCheckBox checkbox = (JCheckBox)
getModel().getElementAt(index);
JCheckBox checkbox = getModel().getElementAt(index);
checkbox.setSelected(!checkbox.isSelected());
repaint();
}