.. | .. |
---|
72 | 72 | { |
---|
73 | 73 | super.SetupUI2(oe); |
---|
74 | 74 | |
---|
75 | | - oe.ctrlPanel.add(optionCB = new JCheckBox("Close Surface", box.open)); //, oe.aConstraints, oe.ctrlPanel.getComponentCount()-2); |
---|
| 75 | + oe.ctrlPanel.add(optionCB = new JCheckBox("Close Surface", !box.open)); //, oe.aConstraints, oe.ctrlPanel.getComponentCount()-2); |
---|
76 | 76 | optionCB.addItemListener(this); |
---|
77 | 77 | oe.ctrlPanel.Return(); |
---|
78 | 78 | } |
---|
.. | .. |
---|
82 | 82 | if (//e.getSource() == nameField || |
---|
83 | 83 | e.getSource() == optionCB) |
---|
84 | 84 | { |
---|
85 | | - box.open = (e.getStateChange() == ItemEvent.SELECTED); |
---|
| 85 | + box.open = (e.getStateChange() != ItemEvent.SELECTED); |
---|
86 | 86 | |
---|
87 | 87 | applySelf(); |
---|
88 | 88 | |
---|