Normand Briere
2019-11-07 f868664f7e7626f651e6ade9c9f6863851ef43b7
BoxEditor.java
....@@ -72,7 +72,7 @@
7272 {
7373 super.SetupUI2(oe);
7474
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);
7676 optionCB.addItemListener(this);
7777 oe.ctrlPanel.Return();
7878 }
....@@ -82,7 +82,7 @@
8282 if (//e.getSource() == nameField ||
8383 e.getSource() == optionCB)
8484 {
85
- box.open = (e.getStateChange() == ItemEvent.SELECTED);
85
+ box.open = (e.getStateChange() != ItemEvent.SELECTED);
8686
8787 applySelf();
8888