Normand Briere
2018-07-07 ecaf579303705545735450cbc8b8014d7e062329
GroupEditor.java
....@@ -1794,7 +1794,7 @@
17941794 if (event.getSource() == invariantsItem)
17951795 {
17961796 System.out.println("Invariants:");
1797
- GrafreeD.theApplet3D.universe.invariants();
1797
+ GrafreeD.grafreeD.universe.invariants();
17981798 } else
17991799 if (event.getSource() == memoryItem)
18001800 {
....@@ -2638,7 +2638,7 @@
26382638 // bug
26392639 //gridPanel.setDividerLocation(1.0);
26402640 //bigPanel.setDividerLocation(0.0);
2641
- bigThree.remove(jtp);
2641
+ bigThree.remove(scenePanel);
26422642 bigThree.remove(cameraPanel);
26432643 bigThree.remove(XYZPanel);
26442644 aWindowConstraints.gridx = 0;
....@@ -2666,7 +2666,7 @@
26662666 if (event.getSource() == threeButton)
26672667 {
26682668 radio.layout = threeButton;
2669
- bigThree.remove(jtp);
2669
+ bigThree.remove(scenePanel);
26702670 bigThree.remove(cameraPanel);
26712671 bigThree.remove(XYZPanel);
26722672 aWindowConstraints.gridx = 0;
....@@ -2694,7 +2694,7 @@
26942694 if (event.getSource() == fourButton)
26952695 {
26962696 radio.layout = fourButton;
2697
- bigThree.remove(jtp);
2697
+ bigThree.remove(scenePanel);
26982698 bigThree.remove(cameraPanel);
26992699 bigThree.remove(XYZPanel);
27002700 aWindowConstraints.gridx = 0;
....@@ -2704,7 +2704,7 @@
27042704 aWindowConstraints.fill = GridBagConstraints.BOTH;
27052705 aWindowConstraints.weightx = 1;
27062706 aWindowConstraints.weighty = 1;
2707
- bigThree.add(jtp, aWindowConstraints);
2707
+ bigThree.add(scenePanel, aWindowConstraints);
27082708 aWindowConstraints.weightx = 1;
27092709 aWindowConstraints.gridwidth = 3;
27102710 // aConstraints.gridheight = 3;
....@@ -2722,7 +2722,7 @@
27222722 if (event.getSource() == sixButton)
27232723 {
27242724 radio.layout = sixButton;
2725
- bigThree.remove(jtp);
2725
+ bigThree.remove(scenePanel);
27262726 bigThree.remove(cameraPanel);
27272727 bigThree.remove(XYZPanel);
27282728 aWindowConstraints.gridx = 0;
....@@ -2732,7 +2732,7 @@
27322732 aWindowConstraints.fill = GridBagConstraints.VERTICAL;
27332733 aWindowConstraints.weightx = 0;
27342734 aWindowConstraints.weighty = 1;
2735
- bigThree.add(jtp, aWindowConstraints);
2735
+ bigThree.add(scenePanel, aWindowConstraints);
27362736 aWindowConstraints.weightx = 1;
27372737 aWindowConstraints.gridwidth = 3;
27382738 // aWindowConstraints.gridheight = 3;
....@@ -2750,7 +2750,7 @@
27502750 if (event.getSource() == sevenButton)
27512751 {
27522752 radio.layout = sevenButton;
2753
- bigThree.remove(jtp);
2753
+ bigThree.remove(scenePanel);
27542754 bigThree.remove(cameraPanel);
27552755 bigThree.remove(XYZPanel);
27562756 aWindowConstraints.gridx = 0;
....@@ -2760,7 +2760,7 @@
27602760 aWindowConstraints.fill = GridBagConstraints.VERTICAL;
27612761 aWindowConstraints.weightx = 0;
27622762 aWindowConstraints.weighty = 1;
2763
- bigThree.add(jtp, aWindowConstraints);
2763
+ bigThree.add(scenePanel, aWindowConstraints);
27642764 aWindowConstraints.weightx = 1;
27652765 aWindowConstraints.gridwidth = 3;
27662766 // aWindowConstraints.gridheight = 3;