.. | .. |
---|
138 | 138 | public void closeUI() |
---|
139 | 139 | { |
---|
140 | 140 | //new Exception().printStackTrace(); |
---|
141 | | - System.out.println("this = " + this); |
---|
142 | | - System.out.println("objEditor = " + objEditor); |
---|
| 141 | +// System.out.println("this = " + this); |
---|
| 142 | +// System.out.println("objEditor = " + objEditor); |
---|
143 | 143 | //nameField.removeActionListener(this); |
---|
144 | | - objEditor.ctrlPanel.remove(nameField); |
---|
| 144 | +// objEditor.ctrlPanel.remove(nameField); |
---|
| 145 | + |
---|
| 146 | + objEditor.ctrlPanel.remove(namePanel); |
---|
145 | 147 | |
---|
146 | 148 | if (!GroupEditor.allparams) |
---|
147 | 149 | return; |
---|
148 | 150 | |
---|
149 | | - objEditor.ctrlPanel.remove(liveCB); |
---|
150 | | - objEditor.ctrlPanel.remove(hideCB); |
---|
151 | | - objEditor.ctrlPanel.remove(markCB); |
---|
152 | | - |
---|
153 | | - objEditor.ctrlPanel.remove(randomCB); |
---|
154 | | - objEditor.ctrlPanel.remove(speedupCB); |
---|
155 | | - objEditor.ctrlPanel.remove(rewindCB); |
---|
156 | | - |
---|
157 | | - objEditor.ctrlPanel.remove(resetButton); |
---|
158 | | - objEditor.ctrlPanel.remove(stepButton); |
---|
159 | | -// objEditor.ctrlPanel.remove(stepAllButton); |
---|
160 | | -// objEditor.ctrlPanel.remove(resetAllButton); |
---|
161 | | - objEditor.ctrlPanel.remove(link2masterCB); |
---|
162 | | - //objEditor.ctrlPanel.remove(flipVCB); |
---|
163 | | - //objEditor.ctrlPanel.remove(texresMenu); |
---|
164 | | - objEditor.ctrlPanel.remove(slowerButton); |
---|
165 | | - objEditor.ctrlPanel.remove(fasterButton); |
---|
166 | | - objEditor.ctrlPanel.remove(remarkButton); |
---|
| 151 | +// objEditor.ctrlPanel.remove(liveCB); |
---|
| 152 | +// objEditor.ctrlPanel.remove(hideCB); |
---|
| 153 | +// objEditor.ctrlPanel.remove(markCB); |
---|
| 154 | +// |
---|
| 155 | +// objEditor.ctrlPanel.remove(randomCB); |
---|
| 156 | +// objEditor.ctrlPanel.remove(speedupCB); |
---|
| 157 | +// objEditor.ctrlPanel.remove(rewindCB); |
---|
| 158 | +// |
---|
| 159 | +// objEditor.ctrlPanel.remove(resetButton); |
---|
| 160 | +// objEditor.ctrlPanel.remove(stepButton); |
---|
| 161 | +//// objEditor.ctrlPanel.remove(stepAllButton); |
---|
| 162 | +//// objEditor.ctrlPanel.remove(resetAllButton); |
---|
| 163 | +// objEditor.ctrlPanel.remove(link2masterCB); |
---|
| 164 | +// //objEditor.ctrlPanel.remove(flipVCB); |
---|
| 165 | +// //objEditor.ctrlPanel.remove(texresMenu); |
---|
| 166 | +// objEditor.ctrlPanel.remove(slowerButton); |
---|
| 167 | +// objEditor.ctrlPanel.remove(fasterButton); |
---|
| 168 | +// objEditor.ctrlPanel.remove(remarkButton); |
---|
167 | 169 | |
---|
168 | | - Remove(normalpushField); |
---|
| 170 | + objEditor.ctrlPanel.remove(setupPanel); |
---|
| 171 | + objEditor.ctrlPanel.remove(commandsPanel); |
---|
| 172 | + objEditor.ctrlPanel.remove(pushPanel); |
---|
| 173 | + //objEditor.ctrlPanel.remove(fillPanel); |
---|
| 174 | + |
---|
| 175 | + //Remove(normalpushField); |
---|
169 | 176 | } |
---|
170 | 177 | |
---|
171 | 178 | public ObjEditor GetEditor() |
---|
.. | .. |
---|
302 | 309 | //normalLensItem.addActionListener(this); |
---|
303 | 310 | cameraMenu.add(revertCameraItem = new MenuItem("Revert Camera")); |
---|
304 | 311 | revertCameraItem.addActionListener(this); |
---|
305 | | - cameraMenu.add(toggleTimelineItem = new CheckboxMenuItem("Timeline")); |
---|
306 | | - toggleTimelineItem.addItemListener(this); |
---|
| 312 | + |
---|
307 | 313 | cameraMenu.add(toggleFullScreenItem = new CheckboxMenuItem("Full Screen")); |
---|
308 | 314 | toggleFullScreenItem.addItemListener(this); |
---|
309 | 315 | toggleFullScreenItem.setState(CameraPane.FULLSCREEN); |
---|
310 | 316 | cameraMenu.add("-"); |
---|
| 317 | + |
---|
311 | 318 | cameraMenu.add(toggleTextureItem = new CheckboxMenuItem("Texture")); |
---|
312 | 319 | toggleTextureItem.addItemListener(this); |
---|
313 | 320 | toggleTextureItem.setState(CameraPane.textureon); |
---|
314 | | - cameraMenu.add(toggleLiveItem = new CheckboxMenuItem("Live")); |
---|
315 | | - toggleLiveItem.addItemListener(this); |
---|
316 | | - toggleLiveItem.setState(Globals.isLIVE()); |
---|
317 | | - cameraMenu.add(stepItem = new MenuItem("Step")); |
---|
318 | | - stepItem.addActionListener(this); |
---|
319 | | -// cameraMenu.add(toggleDLItem = new CheckboxMenuItem("Display List")); |
---|
320 | | -// toggleDLItem.addItemListener(this); |
---|
321 | | -// toggleDLItem.setState(false); |
---|
322 | | - cameraMenu.add(toggleRenderItem = new CheckboxMenuItem("Render")); |
---|
323 | | - toggleRenderItem.addItemListener(this); |
---|
324 | | - toggleRenderItem.setState(!CameraPane.frozen); |
---|
325 | | - cameraMenu.add(toggleDebugItem = new CheckboxMenuItem("Debug")); |
---|
326 | | - toggleDebugItem.addItemListener(this); |
---|
327 | | - toggleDebugItem.setState(CameraPane.DEBUG); |
---|
328 | | - cameraMenu.add(toggleFrustumItem = new CheckboxMenuItem("Frustum")); |
---|
329 | | - toggleFrustumItem.addItemListener(this); |
---|
330 | | - toggleFrustumItem.setState(CameraPane.FRUSTUM); |
---|
331 | | - cameraMenu.add(toggleFootContactItem = new CheckboxMenuItem("Foot contact")); |
---|
332 | | - toggleFootContactItem.addItemListener(this); |
---|
333 | | - toggleFootContactItem.setState(CameraPane.FOOTCONTACT); |
---|
334 | | - cameraMenu.add(toggleRandomItem = new CheckboxMenuItem("Random")); |
---|
335 | | - toggleRandomItem.addItemListener(this); |
---|
336 | | - toggleRandomItem.setState(CameraPane.RANDOM); |
---|
| 321 | + |
---|
| 322 | + if (Globals.ADVANCED) |
---|
| 323 | + { |
---|
| 324 | + cameraMenu.add(toggleLiveItem = new CheckboxMenuItem("Live")); |
---|
| 325 | + toggleLiveItem.addItemListener(this); |
---|
| 326 | + toggleLiveItem.setState(Globals.isLIVE()); |
---|
| 327 | + |
---|
| 328 | + cameraMenu.add(stepItem = new MenuItem("Step")); |
---|
| 329 | + stepItem.addActionListener(this); |
---|
| 330 | + // cameraMenu.add(toggleDLItem = new CheckboxMenuItem("Display List")); |
---|
| 331 | + // toggleDLItem.addItemListener(this); |
---|
| 332 | + // toggleDLItem.setState(false); |
---|
| 333 | + |
---|
| 334 | + cameraMenu.add(toggleRenderItem = new CheckboxMenuItem("Render")); |
---|
| 335 | + toggleRenderItem.addItemListener(this); |
---|
| 336 | + toggleRenderItem.setState(!CameraPane.frozen); |
---|
| 337 | + |
---|
| 338 | + cameraMenu.add(toggleDebugItem = new CheckboxMenuItem("Debug")); |
---|
| 339 | + toggleDebugItem.addItemListener(this); |
---|
| 340 | + toggleDebugItem.setState(CameraPane.DEBUG); |
---|
| 341 | + |
---|
| 342 | + cameraMenu.add(toggleFrustumItem = new CheckboxMenuItem("Frustum")); |
---|
| 343 | + toggleFrustumItem.addItemListener(this); |
---|
| 344 | + toggleFrustumItem.setState(CameraPane.FRUSTUM); |
---|
| 345 | + |
---|
| 346 | + cameraMenu.add(toggleFootContactItem = new CheckboxMenuItem("Foot contact")); |
---|
| 347 | + toggleFootContactItem.addItemListener(this); |
---|
| 348 | + toggleFootContactItem.setState(CameraPane.FOOTCONTACT); |
---|
| 349 | + |
---|
| 350 | + cameraMenu.add(toggleTimelineItem = new CheckboxMenuItem("Timeline")); |
---|
| 351 | + toggleTimelineItem.addItemListener(this); |
---|
| 352 | + } |
---|
| 353 | + |
---|
| 354 | + cameraMenu.add(toggleSwitchItem = new CheckboxMenuItem("Switch")); |
---|
| 355 | + toggleSwitchItem.addItemListener(this); |
---|
| 356 | + toggleSwitchItem.setState(CameraPane.SWITCH); |
---|
| 357 | + |
---|
337 | 358 | cameraMenu.add(toggleHandleItem = new CheckboxMenuItem("Handles")); |
---|
338 | 359 | toggleHandleItem.addItemListener(this); |
---|
339 | 360 | toggleHandleItem.setState(CameraPane.HANDLES); |
---|
| 361 | + |
---|
340 | 362 | cameraMenu.add(togglePaintItem = new CheckboxMenuItem("Paint mode")); |
---|
341 | 363 | togglePaintItem.addItemListener(this); |
---|
342 | 364 | togglePaintItem.setState(CameraPane.PAINTMODE); |
---|
| 365 | + |
---|
343 | 366 | // cameraMenu.add(toggleRootItem = new CheckboxMenuItem("Alternate Root")); |
---|
344 | 367 | // toggleRootItem.addItemListener(this); |
---|
345 | 368 | // toggleRootItem.setState(false); |
---|
.. | .. |
---|
353 | 376 | objectPanel = new JTabbedPane(); |
---|
354 | 377 | toolbarPanel = new JPanel(); |
---|
355 | 378 | toolbarPanel.setName("Toolbar"); |
---|
356 | | - treePanel = new JPanel(); |
---|
| 379 | + treePanel = new cGridBag(); |
---|
357 | 380 | treePanel.setName("Tree"); |
---|
358 | | - ctrlPanel = new cGridBag(); // new GridBagLayout()); |
---|
| 381 | + ctrlPanel = new cGridBag().setVertical(false); // new GridBagLayout()); |
---|
359 | 382 | ctrlPanel.setName("Edit"); |
---|
360 | 383 | materialPanel = new cGridBag().setVertical(true); |
---|
361 | 384 | materialPanel.setName("Material"); |
---|
362 | 385 | /*JTextPane*/ |
---|
363 | 386 | infoarea = createTextPane(); |
---|
| 387 | + doc = infoarea.getStyledDocument(); |
---|
| 388 | + |
---|
364 | 389 | infoarea.setEditable(true); |
---|
365 | 390 | SetText(); |
---|
366 | 391 | // infoarea.setFont(infoarea.getFont().deriveFont(10, 14f)); |
---|
367 | 392 | // infoarea.setOpaque(false); |
---|
368 | 393 | // //infoarea.setForeground(textcolor); |
---|
369 | | - infoarea.setLineWrap(true); |
---|
370 | | - infoarea.setWrapStyleWord(true); |
---|
| 394 | +// TEXTAREA infoarea.setLineWrap(true); |
---|
| 395 | +// TEXTAREA infoarea.setWrapStyleWord(true); |
---|
371 | 396 | infoPanel = new JScrollPane(infoarea, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); //AS_NEEDED); |
---|
372 | 397 | infoPanel.setPreferredSize(new Dimension(50, 200)); |
---|
373 | 398 | infoPanel.setName("Info"); |
---|
.. | .. |
---|
378 | 403 | mainPanel.setName("Main"); |
---|
379 | 404 | mainPanel.setContinuousLayout(true); |
---|
380 | 405 | mainPanel.setOneTouchExpandable(true); |
---|
381 | | - mainPanel.setDividerLocation(1.0); |
---|
382 | 406 | mainPanel.setDividerSize(9); |
---|
383 | | - mainPanel.setResizeWeight(0); |
---|
| 407 | + mainPanel.setDividerLocation(0.5); //1.0); |
---|
| 408 | + mainPanel.setResizeWeight(0.5); |
---|
384 | 409 | |
---|
385 | 410 | //ctrlPanel.setLayout(new GridLayout(4, 1, 5, 5)); |
---|
386 | 411 | //mainPanel.setLayout(new GridBagLayout()); |
---|
387 | 412 | toolbarPanel.setLayout(new FlowLayout(FlowLayout.LEFT)); |
---|
388 | | - treePanel.setLayout(new GridBagLayout()); |
---|
389 | | - ctrlPanel.setLayout(new GridBagLayout()); |
---|
| 413 | +// treePanel.setLayout(new GridBagLayout()); |
---|
| 414 | + //ctrlPanel.setLayout(new GridBagLayout()); |
---|
390 | 415 | //materialPanel.setLayout(new GridBagLayout()); |
---|
391 | 416 | |
---|
392 | 417 | aConstraints = new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, |
---|
.. | .. |
---|
426 | 451 | static String newline = "\n"; |
---|
427 | 452 | protected static final String buttonString = "JButton"; |
---|
428 | 453 | StyledDocument doc; |
---|
429 | | - JTextArea infoarea; |
---|
| 454 | + JTextPane infoarea; |
---|
430 | 455 | |
---|
431 | 456 | void ClearInfo() |
---|
432 | 457 | { |
---|
.. | .. |
---|
493 | 518 | } |
---|
494 | 519 | |
---|
495 | 520 | if (full) |
---|
496 | | - si.SendInfo(" BBox: " + minima + " - " + maxima, "regular"); |
---|
| 521 | + { |
---|
| 522 | + si.SendInfo(" BBox min: " + minima, "regular"); |
---|
| 523 | + si.SendInfo(" BBox max: " + maxima, "regular"); |
---|
| 524 | + } |
---|
497 | 525 | |
---|
498 | 526 | if (sel.bRep != null) |
---|
499 | 527 | { |
---|
.. | .. |
---|
591 | 619 | { |
---|
592 | 620 | CameraPane.pointflow = (PointFlow) sel; |
---|
593 | 621 | } |
---|
| 622 | + |
---|
| 623 | + si.SendInfo("_____________________", "regular"); |
---|
| 624 | + si.SendInfo("", "regular"); |
---|
594 | 625 | } |
---|
595 | 626 | } |
---|
596 | 627 | |
---|
.. | .. |
---|
622 | 653 | cameraView.ToggleFullScreen(); |
---|
623 | 654 | } |
---|
624 | 655 | |
---|
625 | | - private JTextArea createTextPane() |
---|
| 656 | + private JTextPane createTextPane() |
---|
626 | 657 | { |
---|
627 | | - String[] initString = |
---|
628 | | - { |
---|
629 | | - "This is an editable JTextPane, ", //regular |
---|
630 | | - "another ", //italic |
---|
631 | | - "styled ", //bold |
---|
632 | | - "text ", //small |
---|
633 | | - "component, ", //large |
---|
634 | | - "which supports embedded components..." + newline,//regular |
---|
635 | | - " " + newline, //button |
---|
636 | | - "...and embedded icons..." + newline, //regular |
---|
637 | | - " ", //icon |
---|
638 | | - newline + "JTextPane is a subclass of JEditorPane that " |
---|
639 | | - + "uses a StyledEditorKit and StyledDocument, and provides " |
---|
640 | | - + "cover methods for interacting with those objects." |
---|
641 | | - }; |
---|
| 658 | +// TEXTAREA String[] initString = |
---|
| 659 | +// { |
---|
| 660 | +// "This is an editable JTextPane, ", //regular |
---|
| 661 | +// "another ", //italic |
---|
| 662 | +// "styled ", //bold |
---|
| 663 | +// "text ", //small |
---|
| 664 | +// "component, ", //large |
---|
| 665 | +// "which supports embedded components..." + newline,//regular |
---|
| 666 | +// " " + newline, //button |
---|
| 667 | +// "...and embedded icons..." + newline, //regular |
---|
| 668 | +// " ", //icon |
---|
| 669 | +// newline + "JTextPane is a subclass of JEditorPane that " |
---|
| 670 | +// + "uses a StyledEditorKit and StyledDocument, and provides " |
---|
| 671 | +// + "cover methods for interacting with those objects." |
---|
| 672 | +// }; |
---|
| 673 | +// |
---|
| 674 | +// String[] initStyles = |
---|
| 675 | +// { |
---|
| 676 | +// "regular", "italic", "bold", "small", "large", |
---|
| 677 | +// "regular", "button", "regular", "icon", |
---|
| 678 | +// "regular" |
---|
| 679 | +// }; |
---|
| 680 | +// |
---|
| 681 | +// JTextPane textPane = new JTextPane(); |
---|
| 682 | +// textPane.setEditable(true); |
---|
| 683 | +// /*StyledDocument*/ doc = textPane.getStyledDocument(); |
---|
| 684 | +// addStylesToDocument(doc); |
---|
| 685 | +// |
---|
| 686 | +// try |
---|
| 687 | +// { |
---|
| 688 | +// for (int j = 0; j < 2; j++) |
---|
| 689 | +// { |
---|
| 690 | +// for (int i = 0; i < initString.length; i++) |
---|
| 691 | +// { |
---|
| 692 | +// doc.insertString(doc.getLength(), initString[i], |
---|
| 693 | +// doc.getStyle(initStyles[i])); |
---|
| 694 | +// } |
---|
| 695 | +// } |
---|
| 696 | +// } catch (BadLocationException ble) |
---|
| 697 | +// { |
---|
| 698 | +// System.err.println("Couldn't insert initial text into text pane."); |
---|
| 699 | +// } |
---|
642 | 700 | |
---|
643 | | - String[] initStyles = |
---|
644 | | - { |
---|
645 | | - "regular", "italic", "bold", "small", "large", |
---|
646 | | - "regular", "button", "regular", "icon", |
---|
647 | | - "regular" |
---|
648 | | - }; |
---|
649 | | - |
---|
650 | | - JTextPane textPane = new JTextPane(); |
---|
651 | | - textPane.setEditable(true); |
---|
652 | | - /*StyledDocument*/ doc = textPane.getStyledDocument(); |
---|
653 | | - addStylesToDocument(doc); |
---|
654 | | - |
---|
655 | | - try |
---|
656 | | - { |
---|
657 | | - for (int j = 0; j < 2; j++) |
---|
658 | | - { |
---|
659 | | - for (int i = 0; i < initString.length; i++) |
---|
660 | | - { |
---|
661 | | - doc.insertString(doc.getLength(), initString[i], |
---|
662 | | - doc.getStyle(initStyles[i])); |
---|
663 | | - } |
---|
664 | | - } |
---|
665 | | - } catch (BadLocationException ble) |
---|
666 | | - { |
---|
667 | | - System.err.println("Couldn't insert initial text into text pane."); |
---|
668 | | - } |
---|
669 | | - |
---|
670 | | - return new JTextArea(); // textPane; |
---|
| 701 | + return new JTextPane(); // textPane; |
---|
671 | 702 | } |
---|
672 | 703 | |
---|
673 | 704 | protected void addStylesToDocument(StyledDocument doc) |
---|
.. | .. |
---|
767 | 798 | JButton slowerButton; |
---|
768 | 799 | JButton fasterButton; |
---|
769 | 800 | JButton remarkButton; |
---|
| 801 | + |
---|
| 802 | + cGridBag namePanel; |
---|
| 803 | + cGridBag setupPanel; |
---|
| 804 | + cGridBag commandsPanel; |
---|
| 805 | + cGridBag pushPanel; |
---|
| 806 | + cGridBag fillPanel; |
---|
770 | 807 | |
---|
771 | | - JCheckBox AddCheckBox(ObjEditor oe, String label, boolean on) |
---|
| 808 | + JCheckBox AddCheckBox(cGridBag panel, String label, boolean on) |
---|
772 | 809 | { |
---|
773 | 810 | JCheckBox cb; |
---|
774 | 811 | |
---|
775 | | - oe.aConstraints.fill = GridBagConstraints.HORIZONTAL; |
---|
776 | | - oe.aConstraints.gridwidth = 1; // 3; |
---|
777 | | -// oe.aConstraints.weightx = 1; |
---|
778 | | -// oe.aConstraints.anchor = GridBagConstraints.WEST; |
---|
779 | | - oe.ctrlPanel.add(cb = new JCheckBox(label, on), oe.aConstraints); //, oe.ctrlPanel.getComponentCount()-1); |
---|
| 812 | + panel.add(cb = new JCheckBox(label, on)); //, oe.aConstraints); //, oe.ctrlPanel.getComponentCount()-1); |
---|
780 | 813 | cb.addItemListener(this); |
---|
781 | | -// oe.aConstraints.anchor = GridBagConstraints.EAST; |
---|
782 | | - oe.aConstraints.gridwidth = 1; |
---|
783 | | - oe.aConstraints.gridx += 1; |
---|
784 | 814 | |
---|
785 | 815 | return cb; |
---|
786 | 816 | } |
---|
787 | 817 | |
---|
788 | | - cButton AddButton(ObjEditor oe, String label) |
---|
| 818 | + cButton AddButton(cGridBag panel, String label) |
---|
789 | 819 | { |
---|
790 | 820 | cButton cb; |
---|
791 | 821 | |
---|
792 | | - oe.aConstraints.fill = GridBagConstraints.HORIZONTAL; |
---|
793 | | - oe.aConstraints.gridwidth = 1; |
---|
794 | | -// oe.aConstraints.weightx = 1; |
---|
795 | | -// oe.aConstraints.anchor = GridBagConstraints.WEST; |
---|
796 | | - oe.ctrlPanel.add(cb = new cButton(label), oe.aConstraints, oe.ctrlPanel.getComponentCount() - 1); |
---|
| 822 | + panel.add(cb = new cButton(label)); //, oe.aConstraints, oe.ctrlPanel.getComponentCount() - 1); |
---|
797 | 823 | cb.addActionListener(this); |
---|
798 | | -// oe.aConstraints.anchor = GridBagConstraints.EAST; |
---|
799 | | - oe.aConstraints.gridwidth = 1; |
---|
800 | | - oe.aConstraints.gridx += 1; |
---|
801 | 824 | |
---|
802 | 825 | return cb; |
---|
803 | 826 | } |
---|
804 | 827 | |
---|
805 | | - JComboBox AddCombo(ObjEditor oe, java.util.Vector list, int item) |
---|
| 828 | + JComboBox AddCombo(cGridBag panel, java.util.Vector list, int item) |
---|
806 | 829 | { |
---|
807 | 830 | JComboBox combo; |
---|
808 | 831 | |
---|
809 | | - oe.aConstraints.fill = GridBagConstraints.HORIZONTAL; |
---|
810 | | - oe.ctrlPanel.add(combo = new JComboBox(new cListModel(list, item)), oe.aConstraints); //, oe.ctrlPanel.getComponentCount()-1); |
---|
811 | | - oe.aConstraints.gridx += 1; |
---|
| 832 | + panel.add(combo = new JComboBox(new cListModel(list, item))); //, oe.aConstraints); //, oe.ctrlPanel.getComponentCount()-1); |
---|
812 | 833 | combo.addActionListener(this); |
---|
813 | 834 | |
---|
814 | 835 | return combo; |
---|
815 | 836 | } |
---|
816 | 837 | |
---|
817 | | - cNumberSlider AddSlider(cGridBag ctrlPanel, String label, double min, double max, double current, double pow) |
---|
| 838 | + cGridBag AddSlider(cGridBag panel, String label, double min, double max, double current, double pow) |
---|
818 | 839 | { |
---|
819 | 840 | cGridBag control = new cGridBag(); |
---|
820 | 841 | |
---|
.. | .. |
---|
826 | 847 | control.add(combo = new cNumberSlider(this, min, max, pow)); //, aConstraints); //, oe.ctrlPanel.getComponentCount()-1); |
---|
827 | 848 | combo.setFloat(current); |
---|
828 | 849 | |
---|
829 | | - ctrlPanel.add(control); |
---|
| 850 | + panel.add(control); |
---|
830 | 851 | |
---|
831 | | - return combo; |
---|
| 852 | + return control; |
---|
832 | 853 | } |
---|
833 | 854 | |
---|
834 | | - cNumberSlider AddSlider(cGridBag ctrlPanel, String label, int min, int max, int current) |
---|
| 855 | + cGridBag AddSlider(cGridBag panel, String label, int min, int max, int current) |
---|
835 | 856 | { |
---|
836 | 857 | cGridBag control = new cGridBag(); |
---|
837 | 858 | |
---|
.. | .. |
---|
839 | 860 | |
---|
840 | 861 | JLabel jlabel = new JLabel(label); |
---|
841 | 862 | jlabel.setHorizontalAlignment(SwingConstants.TRAILING); |
---|
842 | | - ctrlPanel.add(jlabel); //, aConstraints); //, oe.ctrlPanel.getComponentCount()-1); |
---|
843 | | - ctrlPanel.add(combo = new cNumberSlider(this, min, max)); //, aConstraints); //, oe.ctrlPanel.getComponentCount()-1); |
---|
| 863 | + control.add(jlabel); //, aConstraints); //, oe.ctrlPanel.getComponentCount()-1); |
---|
| 864 | + control.add(combo = new cNumberSlider(this, min, max)); //, aConstraints); //, oe.ctrlPanel.getComponentCount()-1); |
---|
844 | 865 | combo.setInteger(current); |
---|
845 | 866 | |
---|
846 | | - ctrlPanel.add(control); |
---|
| 867 | + panel.add(control); |
---|
847 | 868 | |
---|
848 | | - return combo; |
---|
| 869 | + return control; |
---|
849 | 870 | } |
---|
850 | 871 | |
---|
851 | 872 | JTextArea AddText(cGridBag ctrlPanel, String name) |
---|
852 | 873 | { |
---|
853 | 874 | JTextArea text; |
---|
854 | 875 | |
---|
855 | | - aConstraints.fill = GridBagConstraints.HORIZONTAL; |
---|
856 | | - aConstraints.gridwidth = ObjEditor.GRIDWIDTH; |
---|
857 | 876 | ctrlPanel.add(text = new JTextArea(name)); //, aConstraints); //, oe.ctrlPanel.getComponentCount()-1); |
---|
858 | 877 | text.addCaretListener(this); |
---|
859 | | - aConstraints.gridx += 1; |
---|
860 | | - aConstraints.gridwidth = 1; |
---|
861 | 878 | |
---|
862 | 879 | return text; |
---|
863 | 880 | } |
---|
.. | .. |
---|
896 | 913 | |
---|
897 | 914 | /* |
---|
898 | 915 | */ |
---|
899 | | - void Return() // ObjEditor oe) |
---|
| 916 | + void Return0() // ObjEditor oe) |
---|
900 | 917 | { |
---|
901 | 918 | aConstraints.gridy += 1; |
---|
902 | 919 | aConstraints.gridx = 0; |
---|
.. | .. |
---|
951 | 968 | |
---|
952 | 969 | void SetupUI2(ObjEditor oe) |
---|
953 | 970 | { |
---|
954 | | -// oe.aConstraints.weightx = 0; |
---|
955 | | -// oe.aConstraints.weighty = 0; |
---|
956 | | -// oe.aConstraints.gridx = 0; |
---|
957 | | -// oe.aConstraints.gridy = 0; |
---|
958 | | - SetupName(oe); |
---|
| 971 | + //SetupName(oe); |
---|
| 972 | + |
---|
| 973 | + namePanel = new cGridBag(); |
---|
| 974 | + |
---|
| 975 | + nameField = AddText(namePanel, copy.GetName()); |
---|
| 976 | + namePanel.add(nameField); |
---|
| 977 | + oe.ctrlPanel.add(namePanel); |
---|
| 978 | + |
---|
| 979 | + oe.ctrlPanel.Return(); |
---|
959 | 980 | |
---|
960 | 981 | if (!GroupEditor.allparams) |
---|
961 | 982 | return; |
---|
962 | 983 | |
---|
963 | | - liveCB = AddCheckBox(oe, "Live", copy.live); |
---|
964 | | - link2masterCB = AddCheckBox(oe, "Supp", copy.link2master); |
---|
965 | | - hideCB = AddCheckBox(oe, "Hide", copy.hide); |
---|
| 984 | + setupPanel = new cGridBag().setVertical(false); |
---|
| 985 | + |
---|
| 986 | + liveCB = AddCheckBox(setupPanel, "Live", copy.live); |
---|
| 987 | + liveCB.setToolTipText("Animate object"); |
---|
| 988 | + hideCB = AddCheckBox(setupPanel, "Hide", copy.hide); |
---|
| 989 | + hideCB.setToolTipText("Hide object"); |
---|
966 | 990 | // Return(); |
---|
967 | | - markCB = AddCheckBox(oe, "Mark", copy.marked); |
---|
968 | | - rewindCB = AddCheckBox(oe, "Rew", copy.rewind); |
---|
969 | | - randomCB = AddCheckBox(oe, "Rand", copy.random); |
---|
970 | | - Return(); |
---|
971 | | - resetButton = AddButton(oe, "Reset"); |
---|
972 | | - stepButton = AddButton(oe, "Step"); |
---|
| 991 | + markCB = AddCheckBox(setupPanel, "Mark", copy.marked); |
---|
| 992 | + markCB.setToolTipText("Set the animation target transform"); |
---|
| 993 | + |
---|
| 994 | + rewindCB = AddCheckBox(setupPanel, "Rewind", copy.rewind); |
---|
| 995 | + rewindCB.setToolTipText("Rewind animation"); |
---|
| 996 | + |
---|
| 997 | + randomCB = AddCheckBox(setupPanel, "Random", copy.random); |
---|
| 998 | + randomCB.setToolTipText("Option for switch node"); |
---|
| 999 | + |
---|
| 1000 | + if (Globals.ADVANCED) |
---|
| 1001 | + { |
---|
| 1002 | + link2masterCB = AddCheckBox(setupPanel, "Support", copy.link2master); |
---|
| 1003 | + link2masterCB.setToolTipText("Attach to support"); |
---|
| 1004 | + speedupCB = AddCheckBox(setupPanel, "Speed", copy.speedup); |
---|
| 1005 | + speedupCB.setToolTipText("Option motion capture"); |
---|
| 1006 | + } |
---|
| 1007 | + |
---|
| 1008 | + oe.ctrlPanel.add(setupPanel); |
---|
| 1009 | + oe.ctrlPanel.Return(); |
---|
| 1010 | + |
---|
| 1011 | + commandsPanel = new cGridBag().setVertical(false); |
---|
| 1012 | + |
---|
| 1013 | + resetButton = AddButton(commandsPanel, "Reset"); |
---|
| 1014 | + resetButton.setToolTipText("Jump to frame zero"); |
---|
| 1015 | + stepButton = AddButton(commandsPanel, "Step"); |
---|
| 1016 | + stepButton.setToolTipText("Step one frame"); |
---|
973 | 1017 | // resetAllButton = AddButton(oe, "Reset All"); |
---|
974 | 1018 | // stepAllButton = AddButton(oe, "Step All"); |
---|
975 | | - speedupCB = AddCheckBox(oe, "Speed", copy.speedup); |
---|
976 | 1019 | // Return(); |
---|
977 | | - slowerButton = AddButton(oe, "Slow"); |
---|
978 | | - fasterButton = AddButton(oe, "Fast"); |
---|
979 | | - remarkButton = AddButton(oe, "Rem"); |
---|
| 1020 | + slowerButton = AddButton(commandsPanel, "Slow"); |
---|
| 1021 | + slowerButton.setToolTipText("Decrease animation speed"); |
---|
| 1022 | + fasterButton = AddButton(commandsPanel, "Fast"); |
---|
| 1023 | + fasterButton.setToolTipText("Increase animation speed"); |
---|
| 1024 | + remarkButton = AddButton(commandsPanel, "Remark"); |
---|
| 1025 | + remarkButton.setToolTipText("Set the current transform as the target"); |
---|
980 | 1026 | |
---|
981 | | - //Return(); |
---|
| 1027 | + oe.ctrlPanel.add(commandsPanel); |
---|
| 1028 | + oe.ctrlPanel.Return(); |
---|
982 | 1029 | |
---|
983 | | - //normalpushField = AddSlider(oe.ctrlPanel, "Push", -10, 10, 0, -1); |
---|
| 1030 | + pushPanel = AddSlider(oe.ctrlPanel, "Push", -10, 10, 0, 1); |
---|
| 1031 | + normalpushField = (cNumberSlider)pushPanel.getComponent(1); |
---|
984 | 1032 | //Return(); |
---|
| 1033 | + |
---|
| 1034 | + oe.ctrlPanel.Return(); |
---|
985 | 1035 | |
---|
986 | 1036 | // oe.ctrlPanel.add(stepButton = new cButton("Step"), ObjEditor.aConstraints, oe.ctrlPanel.getComponentCount() - 2); |
---|
987 | 1037 | // ObjEditor.aConstraints.gridx += 1; |
---|
.. | .. |
---|
1076 | 1126 | oe.aConstraints.gridwidth = 1; |
---|
1077 | 1127 | /**/ |
---|
1078 | 1128 | nameField = AddText(oe.ctrlPanel, copy.GetName()); |
---|
1079 | | - Return(); |
---|
| 1129 | + oe.ctrlPanel.Return(); |
---|
1080 | 1130 | |
---|
1081 | 1131 | //ctrlPanel.add(textureButton = new Button("Texture...")); |
---|
1082 | 1132 | //textureButton.setEnabled(false); |
---|
.. | .. |
---|
1253 | 1303 | //JScrollPane tmp = new JScrollPane(ctrlPanel, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); |
---|
1254 | 1304 | //tmp.setName("Edit"); |
---|
1255 | 1305 | objectPanel.add(materialPanel); |
---|
1256 | | - JPanel north = new JPanel(new BorderLayout()); |
---|
1257 | | - north.setName("Edit"); |
---|
1258 | | - north.add(ctrlPanel, BorderLayout.NORTH); |
---|
1259 | | - objectPanel.add(north); |
---|
| 1306 | +// JPanel north = new JPanel(new BorderLayout()); |
---|
| 1307 | +// north.setName("Edit"); |
---|
| 1308 | +// north.add(ctrlPanel, BorderLayout.NORTH); |
---|
| 1309 | +// objectPanel.add(north); |
---|
| 1310 | + objectPanel.add(ctrlPanel); |
---|
1260 | 1311 | objectPanel.add(infoPanel); |
---|
1261 | 1312 | |
---|
1262 | 1313 | /* |
---|
.. | .. |
---|
1415 | 1466 | ctrlPanel.removeAll(); |
---|
1416 | 1467 | } |
---|
1417 | 1468 | |
---|
1418 | | - void SetupMaterial(cGridBag ctrlPanel) |
---|
| 1469 | + void SetupMaterial(cGridBag panel) |
---|
1419 | 1470 | { |
---|
1420 | 1471 | /* |
---|
1421 | 1472 | ctrlPanel.add(materialLabel = new JLabel("MATERIAL : "), aConstraints); |
---|
.. | .. |
---|
1424 | 1475 | |
---|
1425 | 1476 | cGridBag editBar = new cGridBag().setVertical(false); |
---|
1426 | 1477 | |
---|
1427 | | - editBar.add(createMaterialButton = new cButton("Create")); // , aConstraints); |
---|
| 1478 | + editBar.add(createMaterialButton = new cButton("Create", !GrafreeD.NIMBUSLAF)); // , aConstraints); |
---|
| 1479 | + createMaterialButton.setToolTipText("Create material"); |
---|
1428 | 1480 | |
---|
1429 | 1481 | /* |
---|
1430 | 1482 | ctrlPanel.add(resetSlidersButton = new cButton("Reset All"), aConstraints); |
---|
1431 | 1483 | */ |
---|
1432 | 1484 | |
---|
1433 | | - editBar.add(clearMaterialButton = new cButton("Clear")); // , aConstraints); |
---|
1434 | | - editBar.add(resetSlidersButton = new cButton("Reset")); // , aConstraints); |
---|
1435 | | - editBar.add(propagateToggle = new cCheckBox("Prop", propagate)); // , aConstraints); |
---|
1436 | | - editBar.add(multiplyToggle = new cCheckBox("Mult", false)); // , aConstraints); |
---|
| 1485 | + editBar.add(clearMaterialButton = new cButton("Clear", !GrafreeD.NIMBUSLAF)); // , aConstraints); |
---|
| 1486 | + clearMaterialButton.setToolTipText("Clear material"); |
---|
| 1487 | + |
---|
| 1488 | + if (Globals.ADVANCED) |
---|
| 1489 | + { |
---|
| 1490 | + editBar.add(resetSlidersButton = new cButton("Reset", !GrafreeD.NIMBUSLAF)); // , aConstraints); |
---|
| 1491 | + editBar.add(propagateToggle = new cCheckBox("Prop", propagate)); // , aConstraints); |
---|
| 1492 | + editBar.add(multiplyToggle = new cCheckBox("Mult", false)); // , aConstraints); |
---|
| 1493 | + } |
---|
1437 | 1494 | |
---|
1438 | | - ctrlPanel.add(editBar); |
---|
| 1495 | + editBar.preferredHeight = 15; |
---|
| 1496 | + |
---|
| 1497 | + panel.add(editBar); |
---|
1439 | 1498 | |
---|
1440 | 1499 | /**/ |
---|
1441 | 1500 | //aConstraints.weighty = 0; |
---|
.. | .. |
---|
1484 | 1543 | shadowbias.add(shadowbiasField = new cNumberSlider(this, 0.001, 50, -1)); // , aConstraints); |
---|
1485 | 1544 | colorSection.add(shadowbias); |
---|
1486 | 1545 | |
---|
1487 | | - ctrlPanel.add(new JSeparator()); |
---|
| 1546 | + panel.add(new JSeparator()); |
---|
1488 | 1547 | |
---|
1489 | | - ctrlPanel.add(colorSection); |
---|
| 1548 | + panel.add(colorSection); |
---|
1490 | 1549 | |
---|
1491 | 1550 | //ctrlPanel.add(new JLabel("----------------------------------")); // , aConstraints); |
---|
1492 | 1551 | |
---|
.. | .. |
---|
1534 | 1593 | fakedepth.add(fakedepthField = new cNumberSlider(this, 0.001, 50, -1)); // , aConstraints); |
---|
1535 | 1594 | diffuseSection.add(fakedepth); |
---|
1536 | 1595 | |
---|
1537 | | - ctrlPanel.add(new JSeparator()); |
---|
| 1596 | + panel.add(new JSeparator()); |
---|
1538 | 1597 | |
---|
1539 | | - ctrlPanel.add(diffuseSection); |
---|
| 1598 | + panel.add(diffuseSection); |
---|
1540 | 1599 | |
---|
1541 | 1600 | //ctrlPanel.add(new JLabel("----------------------------------")); // , aConstraints); |
---|
1542 | 1601 | |
---|
.. | .. |
---|
1572 | 1631 | velvet.add(velvetField = new cNumberSlider(this, 0.001, 50, -1)); // , aConstraints); |
---|
1573 | 1632 | specularSection.add(velvet); |
---|
1574 | 1633 | |
---|
1575 | | - shiftField = AddSlider(specularSection, "Shift", 0.001, 50, copy.material.shift, -1); |
---|
| 1634 | + shiftField = (cNumberSlider)AddSlider(specularSection, "Shift", 0.001, 50, copy.material.shift, -1).getComponent(1); |
---|
1576 | 1635 | //Return(); |
---|
1577 | 1636 | // ctrlPanel.add(shiftLabel = new JLabel("Shift"), aConstraints); |
---|
1578 | 1637 | // shiftLabel.setHorizontalAlignment(SwingConstants.TRAILING); |
---|
.. | .. |
---|
1585 | 1644 | // aConstraints.gridwidth = 1; |
---|
1586 | 1645 | |
---|
1587 | 1646 | |
---|
1588 | | - ctrlPanel.add(new JSeparator()); |
---|
| 1647 | + panel.add(new JSeparator()); |
---|
1589 | 1648 | |
---|
1590 | | - ctrlPanel.add(specularSection); |
---|
| 1649 | + panel.add(specularSection); |
---|
1591 | 1650 | |
---|
1592 | 1651 | //ctrlPanel.add(new JLabel("----------------------------------")); // , aConstraints); |
---|
1593 | 1652 | |
---|
.. | .. |
---|
1617 | 1676 | opacity.add(opacityField = new cNumberSlider(this, 0.001, 1, -0.5)); // , aConstraints); |
---|
1618 | 1677 | globalSection.add(opacity); |
---|
1619 | 1678 | |
---|
1620 | | - ctrlPanel.add(new JSeparator()); |
---|
| 1679 | + panel.add(new JSeparator()); |
---|
1621 | 1680 | |
---|
1622 | | - ctrlPanel.add(globalSection); |
---|
| 1681 | + panel.add(globalSection); |
---|
1623 | 1682 | |
---|
1624 | 1683 | //ctrlPanel.add(new JLabel("----------------------------------")); // , aConstraints); |
---|
1625 | 1684 | |
---|
.. | .. |
---|
1661 | 1720 | opacityPower.add(opacityPowerField = new cNumberSlider(this, 0.0, 10 /*10 dec 2013*/)); // , aConstraints); |
---|
1662 | 1721 | textureSection.add(opacityPower); |
---|
1663 | 1722 | |
---|
1664 | | - ctrlPanel.add(new JSeparator()); |
---|
| 1723 | + panel.add(new JSeparator()); |
---|
1665 | 1724 | |
---|
1666 | | - ctrlPanel.add(textureSection); |
---|
| 1725 | + panel.add(textureSection); |
---|
1667 | 1726 | |
---|
1668 | 1727 | //ctrlPanel.add(new JLabel("----------------------------------")); // , aConstraints); |
---|
1669 | 1728 | |
---|
.. | .. |
---|
1700 | 1759 | opacityPowerField.addChangeListener(this); |
---|
1701 | 1760 | /**/ |
---|
1702 | 1761 | |
---|
1703 | | - resetSlidersButton.addActionListener(this); |
---|
1704 | 1762 | clearMaterialButton.addActionListener(this); |
---|
1705 | 1763 | createMaterialButton.addActionListener(this); |
---|
1706 | | - |
---|
1707 | | - propagateToggle.addItemListener(this); |
---|
1708 | | - multiplyToggle.addItemListener(this); |
---|
| 1764 | + |
---|
| 1765 | + if (Globals.ADVANCED) |
---|
| 1766 | + { |
---|
| 1767 | + resetSlidersButton.addActionListener(this); |
---|
| 1768 | + propagateToggle.addItemListener(this); |
---|
| 1769 | + multiplyToggle.addItemListener(this); |
---|
| 1770 | + } |
---|
1709 | 1771 | } |
---|
1710 | 1772 | |
---|
1711 | 1773 | void DropFile(java.io.File[] files, boolean textures) |
---|
.. | .. |
---|
2482 | 2544 | } |
---|
2483 | 2545 | if (input == null) |
---|
2484 | 2546 | { |
---|
| 2547 | + new Exception().printStackTrace(); |
---|
2485 | 2548 | System.exit(0); |
---|
2486 | 2549 | } |
---|
2487 | 2550 | |
---|
.. | .. |
---|
2696 | 2759 | return; |
---|
2697 | 2760 | } |
---|
2698 | 2761 | |
---|
2699 | | - multiplyToggle.setSelected(mat.multiply); |
---|
| 2762 | + if (multiplyToggle != null) |
---|
| 2763 | + multiplyToggle.setSelected(mat.multiply); |
---|
2700 | 2764 | |
---|
2701 | 2765 | assert (object.projectedVertices != null); |
---|
2702 | 2766 | |
---|
.. | .. |
---|
2911 | 2975 | frame.validate(); |
---|
2912 | 2976 | |
---|
2913 | 2977 | return; |
---|
2914 | | - } else if (event.getSource() == toggleRandomItem) |
---|
| 2978 | + } else if (event.getSource() == toggleSwitchItem) |
---|
2915 | 2979 | { |
---|
2916 | 2980 | cameraView.ToggleRandom(); |
---|
2917 | 2981 | cameraView.repaint(); |
---|
.. | .. |
---|
2956 | 3020 | if (event.getSource() == randomCB) |
---|
2957 | 3021 | { |
---|
2958 | 3022 | copy.random ^= true; |
---|
| 3023 | + objEditor.refreshContents(); |
---|
2959 | 3024 | return; |
---|
2960 | 3025 | } |
---|
2961 | 3026 | if (event.getSource() == speedupCB) |
---|
.. | .. |
---|
3179 | 3244 | if (!Globals.ANIMATION) |
---|
3180 | 3245 | { |
---|
3181 | 3246 | FileDialog browser = new FileDialog(frame, "Save Animation As...", FileDialog.SAVE); |
---|
3182 | | - browser.show(); |
---|
| 3247 | + browser.setVisible(true); |
---|
3183 | 3248 | String filename = browser.getFile(); |
---|
3184 | 3249 | if (filename != null && filename.length() > 0) |
---|
3185 | 3250 | { |
---|
.. | .. |
---|
3211 | 3276 | callee.refreshContents(); |
---|
3212 | 3277 | } else |
---|
3213 | 3278 | { |
---|
| 3279 | + new Exception().printStackTrace(); |
---|
3214 | 3280 | System.exit(0); |
---|
3215 | 3281 | } |
---|
3216 | 3282 | } |
---|
.. | .. |
---|
3240 | 3306 | void CreateMaterial() |
---|
3241 | 3307 | { |
---|
3242 | 3308 | //copy.ClearMaterial(); // PATCH |
---|
3243 | | - copy.CreateMaterialS(multiplyToggle.isSelected()); |
---|
| 3309 | + copy.CreateMaterialS(multiplyToggle != null && multiplyToggle.isSelected()); |
---|
3244 | 3310 | if (copy.selection.size() > 0) |
---|
3245 | 3311 | //SetMaterial(copy); |
---|
3246 | 3312 | { |
---|
.. | .. |
---|
3299 | 3365 | { |
---|
3300 | 3366 | copy.ResetBlockLoop(); // temporary problem |
---|
3301 | 3367 | |
---|
3302 | | - boolean random = CameraPane.RANDOM; |
---|
3303 | | - CameraPane.RANDOM = false; // parse everything |
---|
| 3368 | + boolean random = CameraPane.SWITCH; |
---|
| 3369 | + CameraPane.SWITCH = false; // parse everything |
---|
3304 | 3370 | copy.ResetDisplayList(); |
---|
3305 | 3371 | copy.HardTouch(); |
---|
3306 | | - CameraPane.RANDOM = random; |
---|
| 3372 | + CameraPane.SWITCH = random; |
---|
3307 | 3373 | } |
---|
3308 | 3374 | |
---|
3309 | 3375 | // public void applySelf() |
---|
.. | .. |
---|
3421 | 3487 | || e.getSource() == apertureField |
---|
3422 | 3488 | || e.getSource() == shadowblurField) |
---|
3423 | 3489 | { |
---|
| 3490 | + new Exception().printStackTrace(); |
---|
3424 | 3491 | System.exit(0); |
---|
3425 | 3492 | cameraView.options1[0] = (float) focusField.getFloat() * 10; |
---|
3426 | 3493 | cameraView.options1[1] = (float) apertureField.getFloat() / 1000; |
---|
.. | .. |
---|
4392 | 4459 | //MenuItem normalLensItem; |
---|
4393 | 4460 | MenuItem editCameraItem; |
---|
4394 | 4461 | MenuItem revertCameraItem; |
---|
4395 | | - CheckboxMenuItem toggleLiveItem; |
---|
4396 | 4462 | MenuItem stepItem; |
---|
| 4463 | + CheckboxMenuItem toggleLiveItem; |
---|
4397 | 4464 | CheckboxMenuItem toggleFullScreenItem; |
---|
4398 | 4465 | CheckboxMenuItem toggleTimelineItem; |
---|
4399 | 4466 | CheckboxMenuItem toggleRenderItem; |
---|
.. | .. |
---|
4402 | 4469 | CheckboxMenuItem toggleFootContactItem; |
---|
4403 | 4470 | CheckboxMenuItem toggleDLItem; |
---|
4404 | 4471 | CheckboxMenuItem toggleTextureItem; |
---|
4405 | | - CheckboxMenuItem toggleRandomItem; |
---|
| 4472 | + CheckboxMenuItem toggleSwitchItem; |
---|
4406 | 4473 | CheckboxMenuItem toggleRootItem; |
---|
4407 | 4474 | CheckboxMenuItem animationItem; |
---|
4408 | 4475 | CheckboxMenuItem toggleHandleItem; |
---|
.. | .. |
---|
4410 | 4477 | JSplitPane mainPanel; |
---|
4411 | 4478 | JScrollPane scrollpane; |
---|
4412 | 4479 | JPanel toolbarPanel; |
---|
4413 | | - JPanel treePanel; |
---|
| 4480 | + cGridBag treePanel; |
---|
4414 | 4481 | JPanel radioPanel; |
---|
4415 | 4482 | ButtonGroup buttonGroup; |
---|
4416 | 4483 | cGridBag ctrlPanel; |
---|