.. | .. |
---|
1794 | 1794 | if (event.getSource() == invariantsItem) |
---|
1795 | 1795 | { |
---|
1796 | 1796 | System.out.println("Invariants:"); |
---|
1797 | | - GrafreeD.theApplet3D.universe.invariants(); |
---|
| 1797 | + GrafreeD.grafreeD.universe.invariants(); |
---|
1798 | 1798 | } else |
---|
1799 | 1799 | if (event.getSource() == memoryItem) |
---|
1800 | 1800 | { |
---|
.. | .. |
---|
2638 | 2638 | // bug |
---|
2639 | 2639 | //gridPanel.setDividerLocation(1.0); |
---|
2640 | 2640 | //bigPanel.setDividerLocation(0.0); |
---|
2641 | | - bigThree.remove(jtp); |
---|
| 2641 | + bigThree.remove(scenePanel); |
---|
2642 | 2642 | bigThree.remove(cameraPanel); |
---|
2643 | 2643 | bigThree.remove(XYZPanel); |
---|
2644 | 2644 | aWindowConstraints.gridx = 0; |
---|
.. | .. |
---|
2666 | 2666 | if (event.getSource() == threeButton) |
---|
2667 | 2667 | { |
---|
2668 | 2668 | radio.layout = threeButton; |
---|
2669 | | - bigThree.remove(jtp); |
---|
| 2669 | + bigThree.remove(scenePanel); |
---|
2670 | 2670 | bigThree.remove(cameraPanel); |
---|
2671 | 2671 | bigThree.remove(XYZPanel); |
---|
2672 | 2672 | aWindowConstraints.gridx = 0; |
---|
.. | .. |
---|
2694 | 2694 | if (event.getSource() == fourButton) |
---|
2695 | 2695 | { |
---|
2696 | 2696 | radio.layout = fourButton; |
---|
2697 | | - bigThree.remove(jtp); |
---|
| 2697 | + bigThree.remove(scenePanel); |
---|
2698 | 2698 | bigThree.remove(cameraPanel); |
---|
2699 | 2699 | bigThree.remove(XYZPanel); |
---|
2700 | 2700 | aWindowConstraints.gridx = 0; |
---|
.. | .. |
---|
2704 | 2704 | aWindowConstraints.fill = GridBagConstraints.BOTH; |
---|
2705 | 2705 | aWindowConstraints.weightx = 1; |
---|
2706 | 2706 | aWindowConstraints.weighty = 1; |
---|
2707 | | - bigThree.add(jtp, aWindowConstraints); |
---|
| 2707 | + bigThree.add(scenePanel, aWindowConstraints); |
---|
2708 | 2708 | aWindowConstraints.weightx = 1; |
---|
2709 | 2709 | aWindowConstraints.gridwidth = 3; |
---|
2710 | 2710 | // aConstraints.gridheight = 3; |
---|
.. | .. |
---|
2722 | 2722 | if (event.getSource() == sixButton) |
---|
2723 | 2723 | { |
---|
2724 | 2724 | radio.layout = sixButton; |
---|
2725 | | - bigThree.remove(jtp); |
---|
| 2725 | + bigThree.remove(scenePanel); |
---|
2726 | 2726 | bigThree.remove(cameraPanel); |
---|
2727 | 2727 | bigThree.remove(XYZPanel); |
---|
2728 | 2728 | aWindowConstraints.gridx = 0; |
---|
.. | .. |
---|
2732 | 2732 | aWindowConstraints.fill = GridBagConstraints.VERTICAL; |
---|
2733 | 2733 | aWindowConstraints.weightx = 0; |
---|
2734 | 2734 | aWindowConstraints.weighty = 1; |
---|
2735 | | - bigThree.add(jtp, aWindowConstraints); |
---|
| 2735 | + bigThree.add(scenePanel, aWindowConstraints); |
---|
2736 | 2736 | aWindowConstraints.weightx = 1; |
---|
2737 | 2737 | aWindowConstraints.gridwidth = 3; |
---|
2738 | 2738 | // aWindowConstraints.gridheight = 3; |
---|
.. | .. |
---|
2750 | 2750 | if (event.getSource() == sevenButton) |
---|
2751 | 2751 | { |
---|
2752 | 2752 | radio.layout = sevenButton; |
---|
2753 | | - bigThree.remove(jtp); |
---|
| 2753 | + bigThree.remove(scenePanel); |
---|
2754 | 2754 | bigThree.remove(cameraPanel); |
---|
2755 | 2755 | bigThree.remove(XYZPanel); |
---|
2756 | 2756 | aWindowConstraints.gridx = 0; |
---|
.. | .. |
---|
2760 | 2760 | aWindowConstraints.fill = GridBagConstraints.VERTICAL; |
---|
2761 | 2761 | aWindowConstraints.weightx = 0; |
---|
2762 | 2762 | aWindowConstraints.weighty = 1; |
---|
2763 | | - bigThree.add(jtp, aWindowConstraints); |
---|
| 2763 | + bigThree.add(scenePanel, aWindowConstraints); |
---|
2764 | 2764 | aWindowConstraints.weightx = 1; |
---|
2765 | 2765 | aWindowConstraints.gridwidth = 3; |
---|
2766 | 2766 | // aWindowConstraints.gridheight = 3; |
---|