mirror of
https://github.com/processing/processing4.git
synced 2026-02-26 08:44:39 +01:00
todo items and minor tweaks
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user