.. | .. |
---|
520 | 520 | |
---|
521 | 521 | oe.toolbarPanel.add(flashSelectionButton = new cButton(" ? ")); //, oe.aConstraints); |
---|
522 | 522 | flashSelectionButton.addActionListener(this); |
---|
| 523 | + |
---|
| 524 | + oe.toolbarPanel.add(new cButton(" ", false)); |
---|
| 525 | + |
---|
523 | 526 | oe.aConstraints.gridx += 1; |
---|
524 | 527 | oe.aConstraints.weighty = 0; |
---|
525 | 528 | oe.aConstraints.gridwidth = 1; |
---|
.. | .. |
---|
715 | 718 | dropAttributes |= Object3D.TEXTURE; |
---|
716 | 719 | else |
---|
717 | 720 | dropAttributes &= ~Object3D.TEXTURE; |
---|
718 | | - } |
---|
719 | | - else if(e.getSource() == liveCB) |
---|
| 721 | + } else if(e.getSource() == liveCB) |
---|
720 | 722 | { |
---|
721 | 723 | cameraView.ToggleLive(); |
---|
722 | 724 | } |
---|
.. | .. |
---|
1794 | 1796 | if (event.getSource() == invariantsItem) |
---|
1795 | 1797 | { |
---|
1796 | 1798 | System.out.println("Invariants:"); |
---|
1797 | | - GrafreeD.theApplet3D.universe.invariants(); |
---|
| 1799 | + GrafreeD.grafreeD.universe.invariants(); |
---|
1798 | 1800 | } else |
---|
1799 | 1801 | if (event.getSource() == memoryItem) |
---|
1800 | 1802 | { |
---|
.. | .. |
---|
2638 | 2640 | // bug |
---|
2639 | 2641 | //gridPanel.setDividerLocation(1.0); |
---|
2640 | 2642 | //bigPanel.setDividerLocation(0.0); |
---|
2641 | | - bigThree.remove(jtp); |
---|
2642 | | - bigThree.remove(cameraPanel); |
---|
| 2643 | + bigThree.remove(scenePanel); |
---|
| 2644 | + bigThree.remove(centralPanel); |
---|
2643 | 2645 | bigThree.remove(XYZPanel); |
---|
2644 | 2646 | aWindowConstraints.gridx = 0; |
---|
2645 | 2647 | aWindowConstraints.gridy = 0; |
---|
.. | .. |
---|
2654 | 2656 | // aConstraints.gridheight = 3; |
---|
2655 | 2657 | aWindowConstraints.gridx = 1; |
---|
2656 | 2658 | aWindowConstraints.fill = GridBagConstraints.BOTH; |
---|
2657 | | - bigThree.add(cameraPanel, aWindowConstraints); |
---|
| 2659 | + bigThree.add(centralPanel, aWindowConstraints); |
---|
2658 | 2660 | aWindowConstraints.weightx = 0; |
---|
2659 | 2661 | aWindowConstraints.gridx = 4; |
---|
2660 | 2662 | aWindowConstraints.gridwidth = 1; |
---|
.. | .. |
---|
2666 | 2668 | if (event.getSource() == threeButton) |
---|
2667 | 2669 | { |
---|
2668 | 2670 | radio.layout = threeButton; |
---|
2669 | | - bigThree.remove(jtp); |
---|
2670 | | - bigThree.remove(cameraPanel); |
---|
| 2671 | + bigThree.remove(scenePanel); |
---|
| 2672 | + bigThree.remove(centralPanel); |
---|
2671 | 2673 | bigThree.remove(XYZPanel); |
---|
2672 | 2674 | aWindowConstraints.gridx = 0; |
---|
2673 | 2675 | aWindowConstraints.gridy = 0; |
---|
.. | .. |
---|
2682 | 2684 | // aConstraints.gridheight = 3; |
---|
2683 | 2685 | aWindowConstraints.gridx = 1; |
---|
2684 | 2686 | aWindowConstraints.fill = GridBagConstraints.BOTH; |
---|
2685 | | - bigThree.add(cameraPanel, aWindowConstraints); |
---|
| 2687 | + bigThree.add(centralPanel, aWindowConstraints); |
---|
2686 | 2688 | aWindowConstraints.weightx = 0; |
---|
2687 | 2689 | aWindowConstraints.gridx = 4; |
---|
2688 | 2690 | aWindowConstraints.gridwidth = 1; |
---|
.. | .. |
---|
2694 | 2696 | if (event.getSource() == fourButton) |
---|
2695 | 2697 | { |
---|
2696 | 2698 | radio.layout = fourButton; |
---|
2697 | | - bigThree.remove(jtp); |
---|
2698 | | - bigThree.remove(cameraPanel); |
---|
| 2699 | + bigThree.remove(scenePanel); |
---|
| 2700 | + bigThree.remove(centralPanel); |
---|
2699 | 2701 | bigThree.remove(XYZPanel); |
---|
2700 | 2702 | aWindowConstraints.gridx = 0; |
---|
2701 | 2703 | aWindowConstraints.gridy = 0; |
---|
.. | .. |
---|
2704 | 2706 | aWindowConstraints.fill = GridBagConstraints.BOTH; |
---|
2705 | 2707 | aWindowConstraints.weightx = 1; |
---|
2706 | 2708 | aWindowConstraints.weighty = 1; |
---|
2707 | | - bigThree.add(jtp, aWindowConstraints); |
---|
| 2709 | + bigThree.add(scenePanel, aWindowConstraints); |
---|
2708 | 2710 | aWindowConstraints.weightx = 1; |
---|
2709 | 2711 | aWindowConstraints.gridwidth = 3; |
---|
2710 | 2712 | // aConstraints.gridheight = 3; |
---|
.. | .. |
---|
2722 | 2724 | if (event.getSource() == sixButton) |
---|
2723 | 2725 | { |
---|
2724 | 2726 | radio.layout = sixButton; |
---|
2725 | | - bigThree.remove(jtp); |
---|
2726 | | - bigThree.remove(cameraPanel); |
---|
| 2727 | + bigThree.remove(scenePanel); |
---|
| 2728 | + bigThree.remove(centralPanel); |
---|
2727 | 2729 | bigThree.remove(XYZPanel); |
---|
2728 | 2730 | aWindowConstraints.gridx = 0; |
---|
2729 | 2731 | aWindowConstraints.gridy = 0; |
---|
.. | .. |
---|
2732 | 2734 | aWindowConstraints.fill = GridBagConstraints.VERTICAL; |
---|
2733 | 2735 | aWindowConstraints.weightx = 0; |
---|
2734 | 2736 | aWindowConstraints.weighty = 1; |
---|
2735 | | - bigThree.add(jtp, aWindowConstraints); |
---|
| 2737 | + bigThree.add(scenePanel, aWindowConstraints); |
---|
2736 | 2738 | aWindowConstraints.weightx = 1; |
---|
2737 | 2739 | aWindowConstraints.gridwidth = 3; |
---|
2738 | 2740 | // aWindowConstraints.gridheight = 3; |
---|
2739 | 2741 | aWindowConstraints.gridx = 1; |
---|
2740 | 2742 | aWindowConstraints.fill = GridBagConstraints.BOTH; |
---|
2741 | | - bigThree.add(cameraPanel, aWindowConstraints); |
---|
| 2743 | + bigThree.add(centralPanel, aWindowConstraints); |
---|
2742 | 2744 | aWindowConstraints.weightx = 0; |
---|
2743 | 2745 | aWindowConstraints.gridx = 4; |
---|
2744 | 2746 | aWindowConstraints.gridwidth = 1; |
---|
.. | .. |
---|
2750 | 2752 | if (event.getSource() == sevenButton) |
---|
2751 | 2753 | { |
---|
2752 | 2754 | radio.layout = sevenButton; |
---|
2753 | | - bigThree.remove(jtp); |
---|
2754 | | - bigThree.remove(cameraPanel); |
---|
| 2755 | + bigThree.remove(scenePanel); |
---|
| 2756 | + bigThree.remove(centralPanel); |
---|
2755 | 2757 | bigThree.remove(XYZPanel); |
---|
2756 | 2758 | aWindowConstraints.gridx = 0; |
---|
2757 | 2759 | aWindowConstraints.gridy = 0; |
---|
.. | .. |
---|
2760 | 2762 | aWindowConstraints.fill = GridBagConstraints.VERTICAL; |
---|
2761 | 2763 | aWindowConstraints.weightx = 0; |
---|
2762 | 2764 | aWindowConstraints.weighty = 1; |
---|
2763 | | - bigThree.add(jtp, aWindowConstraints); |
---|
| 2765 | + bigThree.add(scenePanel, aWindowConstraints); |
---|
2764 | 2766 | aWindowConstraints.weightx = 1; |
---|
2765 | 2767 | aWindowConstraints.gridwidth = 3; |
---|
2766 | 2768 | // aWindowConstraints.gridheight = 3; |
---|
2767 | 2769 | aWindowConstraints.gridx = 1; |
---|
2768 | 2770 | aWindowConstraints.fill = GridBagConstraints.BOTH; |
---|
2769 | | - bigThree.add(cameraPanel, aWindowConstraints); |
---|
| 2771 | + bigThree.add(centralPanel, aWindowConstraints); |
---|
2770 | 2772 | aWindowConstraints.weightx = 0; |
---|
2771 | 2773 | aWindowConstraints.gridx = 4; |
---|
2772 | 2774 | aWindowConstraints.gridwidth = 1; |
---|