.. | .. |
---|
41 | 41 | JFrame frame; |
---|
42 | 42 | |
---|
43 | 43 | static ObjEditor theFrame; |
---|
| 44 | + |
---|
| 45 | + public cGridBag GetSeparator() |
---|
| 46 | + { |
---|
| 47 | + cGridBag separator = new cGridBag(); |
---|
| 48 | + separator.add(new JSeparator()); |
---|
| 49 | + separator.preferredHeight = 5; |
---|
| 50 | + return separator; |
---|
| 51 | + } |
---|
44 | 52 | |
---|
45 | 53 | cButton GetButton(String name, boolean border) |
---|
46 | 54 | { |
---|
47 | | - try |
---|
48 | | - { |
---|
49 | | - ImageIcon icon = GetIcon(name); |
---|
50 | | - return new cButton(icon, border); |
---|
51 | | - } |
---|
52 | | - catch (Exception e) |
---|
53 | | - { |
---|
54 | | - return new cButton(name, border); |
---|
55 | | - } |
---|
| 55 | + ImageIcon icon = GetIcon(name); |
---|
| 56 | + return new cButton(icon, border); |
---|
| 57 | + } |
---|
| 58 | + |
---|
| 59 | + cLabel GetLabel(String name, boolean border) |
---|
| 60 | + { |
---|
| 61 | + //ImageIcon icon = GetIcon(name); |
---|
| 62 | + return new cLabel(GetImage(name), border); |
---|
56 | 63 | } |
---|
57 | 64 | |
---|
58 | 65 | cToggleButton GetToggleButton(String name, boolean border) |
---|
59 | 66 | { |
---|
60 | | - try |
---|
61 | | - { |
---|
62 | | - ImageIcon icon = GetIcon(name); |
---|
63 | | - return new cToggleButton(icon, border); |
---|
64 | | - } |
---|
65 | | - catch (Exception e) |
---|
66 | | - { |
---|
67 | | - return new cToggleButton(name, border); |
---|
68 | | - } |
---|
| 67 | + ImageIcon icon = GetIcon(name); |
---|
| 68 | + return new cToggleButton(icon, border); |
---|
69 | 69 | } |
---|
70 | 70 | |
---|
71 | 71 | cCheckBox GetCheckBox(String name, boolean border) |
---|
72 | 72 | { |
---|
| 73 | + ImageIcon icon = GetIcon(name); |
---|
| 74 | + return new cCheckBox(icon, border); |
---|
| 75 | + } |
---|
| 76 | + |
---|
| 77 | + ImageIcon GetIcon(String name) |
---|
| 78 | + { |
---|
73 | 79 | try |
---|
74 | 80 | { |
---|
75 | | - ImageIcon icon = GetIcon(name); |
---|
76 | | - return new cCheckBox(icon, border); |
---|
| 81 | + BufferedImage image = javax.imageio.ImageIO.read(getClass().getClassLoader().getResourceAsStream(name)); |
---|
| 82 | + |
---|
| 83 | +// if (image.getWidth() > 48 && image.getHeight() > 48) |
---|
| 84 | +// { |
---|
| 85 | +// BufferedImage resized = new BufferedImage(48, 48, image.getType()); |
---|
| 86 | +// Graphics2D g = resized.createGraphics(); |
---|
| 87 | +// g.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR); |
---|
| 88 | +// //g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); |
---|
| 89 | +// g.drawImage(image, 0, 0, 48, 48, 0, 0, image.getWidth(), image.getHeight(), null); |
---|
| 90 | +// g.dispose(); |
---|
| 91 | +// |
---|
| 92 | +// image = resized; |
---|
| 93 | +// } |
---|
| 94 | + |
---|
| 95 | + javax.swing.ImageIcon icon = new javax.swing.ImageIcon(image); |
---|
| 96 | + return icon; |
---|
77 | 97 | } |
---|
78 | 98 | catch (Exception e) |
---|
79 | 99 | { |
---|
80 | | - return new cCheckBox(name, border); |
---|
| 100 | + return null; |
---|
81 | 101 | } |
---|
82 | 102 | } |
---|
83 | | - |
---|
84 | | - private ImageIcon GetIcon(String name) throws IOException |
---|
| 103 | + |
---|
| 104 | + BufferedImage GetImage(String name) |
---|
85 | 105 | { |
---|
86 | | - BufferedImage image = javax.imageio.ImageIO.read(getClass().getClassLoader().getResourceAsStream(name)); |
---|
87 | | - |
---|
88 | | - if (image.getWidth() != 24 && image.getHeight() != 24) |
---|
| 106 | + try |
---|
89 | 107 | { |
---|
90 | | - BufferedImage resized = new BufferedImage(24, 24, image.getType()); |
---|
91 | | - Graphics2D g = resized.createGraphics(); |
---|
92 | | - g.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR); |
---|
93 | | - //g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); |
---|
94 | | - g.drawImage(image, 0, 0, 24, 24, 0, 0, image.getWidth(), image.getHeight(), null); |
---|
95 | | - g.dispose(); |
---|
96 | | - |
---|
97 | | - image = resized; |
---|
| 108 | + BufferedImage image = javax.imageio.ImageIO.read(getClass().getClassLoader().getResourceAsStream(name)); |
---|
| 109 | + |
---|
| 110 | + return image; |
---|
98 | 111 | } |
---|
99 | | - |
---|
100 | | - javax.swing.ImageIcon icon = new javax.swing.ImageIcon(image); |
---|
101 | | - return icon; |
---|
| 112 | + catch (Exception e) |
---|
| 113 | + { |
---|
| 114 | + return null; |
---|
| 115 | + } |
---|
102 | 116 | } |
---|
103 | 117 | |
---|
104 | 118 | // SCRIPT |
---|
.. | .. |
---|
341 | 355 | |
---|
342 | 356 | if (copy.versions == null) |
---|
343 | 357 | { |
---|
344 | | - copy.versions = new byte[100][]; |
---|
345 | | - copy.versionindex = -1; |
---|
| 358 | +// copy.versions = new byte[100][]; |
---|
| 359 | +// copy.versionindex = -1; |
---|
346 | 360 | } |
---|
347 | 361 | |
---|
348 | 362 | SetupMenu(); |
---|
.. | .. |
---|
437 | 451 | |
---|
438 | 452 | toolbarPanel = new JPanel(); |
---|
439 | 453 | toolbarPanel.setName("Toolbar"); |
---|
| 454 | + |
---|
440 | 455 | treePanel = new cGridBag(); |
---|
441 | 456 | treePanel.setName("Tree"); |
---|
442 | 457 | |
---|
443 | 458 | editPanel = new cGridBag().setVertical(true); |
---|
444 | | - editPanel.setName("Edit"); |
---|
| 459 | + //editPanel.setName("Edit"); |
---|
445 | 460 | |
---|
446 | 461 | ctrlPanel = new cGridBag().setVertical(false); // new GridBagLayout()); |
---|
447 | 462 | |
---|
.. | .. |
---|
449 | 464 | editPanel.add(editCommandsPanel); |
---|
450 | 465 | editPanel.add(ctrlPanel); |
---|
451 | 466 | |
---|
452 | | - toolboxPanel = new cGridBag().setVertical(false); |
---|
453 | | - toolboxPanel.setName("Toolbox"); |
---|
| 467 | + toolboxPanel = new cGridBag().setVertical(true); |
---|
| 468 | + //toolboxPanel.setName("Toolbox"); |
---|
454 | 469 | |
---|
455 | 470 | materialPanel = new cGridBag().setVertical(true); |
---|
456 | | - materialPanel.setName("Material"); |
---|
| 471 | + //materialPanel.setName("Material"); |
---|
457 | 472 | |
---|
458 | 473 | /*JTextPane*/ |
---|
459 | 474 | infoarea = createTextPane(); |
---|
.. | .. |
---|
461 | 476 | |
---|
462 | 477 | infoarea.setEditable(true); |
---|
463 | 478 | SetText(); |
---|
| 479 | + |
---|
464 | 480 | // infoarea.setFont(infoarea.getFont().deriveFont(10, 14f)); |
---|
465 | 481 | // infoarea.setOpaque(false); |
---|
466 | 482 | // //infoarea.setForeground(textcolor); |
---|
.. | .. |
---|
468 | 484 | // TEXTAREA infoarea.setWrapStyleWord(true); |
---|
469 | 485 | infoPanel = new JScrollPane(infoarea, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); //AS_NEEDED); |
---|
470 | 486 | infoPanel.setPreferredSize(new Dimension(1, 1)); |
---|
471 | | - infoPanel.setName("Info"); |
---|
| 487 | + //infoPanel.setName("Info"); |
---|
472 | 488 | //infoPanel.setLayout(new BorderLayout()); |
---|
473 | 489 | //infoPanel.add(createTextPane()); |
---|
474 | 490 | |
---|
.. | .. |
---|
986 | 1002 | // NumberSlider vDivsField; |
---|
987 | 1003 | // JCheckBox endcaps; |
---|
988 | 1004 | JCheckBox liveCB; |
---|
989 | | - JCheckBox selectCB; |
---|
| 1005 | + JCheckBox selectableCB; |
---|
990 | 1006 | JCheckBox hideCB; |
---|
991 | 1007 | JCheckBox link2masterCB; |
---|
992 | 1008 | JCheckBox markCB; |
---|
.. | .. |
---|
1198 | 1214 | |
---|
1199 | 1215 | liveCB = AddCheckBox(setupPanel, "Live", copy.live); |
---|
1200 | 1216 | liveCB.setToolTipText("Animate object"); |
---|
1201 | | - selectCB = AddCheckBox(setupPanel, "Select", !copy.dontselect); |
---|
1202 | | - selectCB.setToolTipText("Make object selectable"); |
---|
| 1217 | + selectableCB = AddCheckBox(setupPanel, "Select", !copy.dontselect); |
---|
| 1218 | + selectableCB.setToolTipText("Make object selectable"); |
---|
1203 | 1219 | // Return(); |
---|
| 1220 | + |
---|
1204 | 1221 | hideCB = AddCheckBox(setupPanel, "Hide", copy.hide); |
---|
1205 | 1222 | hideCB.setToolTipText("Hide object"); |
---|
1206 | 1223 | markCB = AddCheckBox(setupPanel, "Mark", copy.marked); |
---|
1207 | 1224 | markCB.setToolTipText("As animation target transform"); |
---|
| 1225 | + |
---|
| 1226 | + ToolTipManager.sharedInstance().setLightWeightPopupEnabled(false); |
---|
1208 | 1227 | |
---|
1209 | 1228 | setupPanel2 = new cGridBag().setVertical(false); |
---|
1210 | 1229 | |
---|
.. | .. |
---|
1492 | 1511 | XYZPanel.addComponent(/*BorderLayout.SOUTH,*/sideView); // Scroll); |
---|
1493 | 1512 | XYZPanel.addComponent(/*BorderLayout.CENTER,*/frontView); // Scroll); |
---|
1494 | 1513 | XYZPanel.addComponent(/*BorderLayout.NORTH,*/topView); // Scroll); |
---|
| 1514 | + //XYZPanel.setName("XYZ"); |
---|
1495 | 1515 | |
---|
1496 | 1516 | /* |
---|
1497 | 1517 | gridPanel = new JPanel(); //new BorderLayout()); |
---|
.. | .. |
---|
1529 | 1549 | //JScrollPane tmp = new JScrollPane(ctrlPanel, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); |
---|
1530 | 1550 | //tmp.setName("Edit"); |
---|
1531 | 1551 | objectPanel.add(materialPanel); |
---|
| 1552 | + objectPanel.setIconAt(0, GetIcon("icons/material.png")); |
---|
| 1553 | + objectPanel.setToolTipTextAt(0, "Material panel"); |
---|
| 1554 | + |
---|
1532 | 1555 | // JPanel north = new JPanel(new BorderLayout()); |
---|
1533 | 1556 | // north.setName("Edit"); |
---|
1534 | 1557 | // north.add(ctrlPanel, BorderLayout.NORTH); |
---|
1535 | 1558 | // objectPanel.add(north); |
---|
1536 | 1559 | objectPanel.add(editPanel); |
---|
| 1560 | + objectPanel.setIconAt(1, GetIcon("icons/write.png")); |
---|
| 1561 | + objectPanel.setToolTipTextAt(1, "Edit panel"); |
---|
1537 | 1562 | |
---|
1538 | 1563 | //if (Globals.ADVANCED) |
---|
1539 | 1564 | objectPanel.add(infoPanel); |
---|
| 1565 | + objectPanel.setIconAt(2, GetIcon("icons/info.png")); |
---|
| 1566 | + objectPanel.setToolTipTextAt(2, "Info panel"); |
---|
| 1567 | + |
---|
| 1568 | + objectPanel.add(XYZPanel); |
---|
| 1569 | + objectPanel.setIconAt(3, GetIcon("icons/XYZ.png")); |
---|
| 1570 | + objectPanel.setToolTipTextAt(3, "XYZ/RGB panel"); |
---|
1540 | 1571 | |
---|
1541 | 1572 | objectPanel.add(toolboxPanel); |
---|
| 1573 | + objectPanel.setIconAt(4, GetIcon("icons/primitives.png")); |
---|
| 1574 | + objectPanel.setToolTipTextAt(4, "Objects/backgrounds panel"); |
---|
1542 | 1575 | |
---|
1543 | 1576 | /* |
---|
1544 | 1577 | aConstraints.gridx = 0; |
---|
.. | .. |
---|
1559 | 1592 | scrollpane.addMouseWheelListener(this); // Default not fast enough |
---|
1560 | 1593 | |
---|
1561 | 1594 | /*JTabbedPane*/ scenePanel = new cGridBag(); |
---|
1562 | | - scenePanel.preferredWidth = 6; |
---|
| 1595 | + scenePanel.preferredWidth = 5; |
---|
1563 | 1596 | |
---|
1564 | 1597 | JTabbedPane tabbedPane = new JTabbedPane(); |
---|
1565 | 1598 | tabbedPane.add(scrollpane); |
---|
.. | .. |
---|
1637 | 1670 | bigThree = new cGridBag(); |
---|
1638 | 1671 | bigThree.addComponent(scenePanel); |
---|
1639 | 1672 | bigThree.addComponent(centralPanel); |
---|
1640 | | - bigThree.addComponent(XYZPanel); |
---|
| 1673 | + //bigThree.addComponent(XYZPanel); |
---|
1641 | 1674 | |
---|
1642 | 1675 | // // SIDE EFFECT!!! |
---|
1643 | 1676 | // aConstraints.gridx = 0; |
---|
.. | .. |
---|
1678 | 1711 | frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE); |
---|
1679 | 1712 | frame.addWindowListener(new WindowAdapter() |
---|
1680 | 1713 | { |
---|
1681 | | - |
---|
1682 | 1714 | public void windowClosing(WindowEvent e) |
---|
1683 | 1715 | { |
---|
1684 | 1716 | Close(); |
---|
.. | .. |
---|
1740 | 1772 | //ctrlPanel.add(new JLabel("----------------------------------")); // , aConstraints); |
---|
1741 | 1773 | |
---|
1742 | 1774 | cGridBag colorSection = new cGridBag().setVertical(true); |
---|
| 1775 | + |
---|
| 1776 | + cGridBag huepanel = new cGridBag(); |
---|
| 1777 | + cGridBag huelabel = new cGridBag(); |
---|
| 1778 | + huelabel.add(GetLabel("icons/hue.png", false)); |
---|
| 1779 | + huelabel.preferredWidth = 20; |
---|
| 1780 | + huepanel.add(new cGridBag()); // Label |
---|
| 1781 | + huepanel.add(huelabel); // Field/slider |
---|
| 1782 | + |
---|
| 1783 | + huepanel.preferredHeight = 7; |
---|
| 1784 | + |
---|
| 1785 | + colorSection.add(huepanel); |
---|
1743 | 1786 | |
---|
1744 | 1787 | cGridBag color = new cGridBag(); |
---|
1745 | | - color.add(colorLabel = new JLabel("Color/hue")); // , aConstraints); |
---|
1746 | | - colorLabel.setHorizontalAlignment(SwingConstants.TRAILING); |
---|
1747 | | - color.add(colorField = new cNumberSlider(this, 0.001, 1, -0.5)); // , aConstraints); |
---|
| 1788 | + |
---|
| 1789 | + color.add(colorLabel = new JLabel("Color/hue")); // , aConstraints); |
---|
| 1790 | + colorLabel.setHorizontalAlignment(SwingConstants.TRAILING); |
---|
| 1791 | + color.add(colorField = new cNumberSlider(this, 0.001, 1)); // , aConstraints); |
---|
| 1792 | + |
---|
1748 | 1793 | //colorField.preferredWidth = 200; |
---|
1749 | 1794 | colorSection.add(color); |
---|
1750 | 1795 | |
---|
1751 | 1796 | cGridBag modulation = new cGridBag(); |
---|
1752 | 1797 | modulation.add(modulationLabel = new JLabel("Saturation")); // , aConstraints); |
---|
1753 | 1798 | modulationLabel.setHorizontalAlignment(SwingConstants.TRAILING); |
---|
1754 | | - modulation.add(modulationField = new cNumberSlider(this, 0.001, 1, -0.5)); // , aConstraints); |
---|
| 1799 | + modulation.add(modulationField = new cNumberSlider(this, 0.001, 1)); // , aConstraints); |
---|
1755 | 1800 | colorSection.add(modulation); |
---|
1756 | 1801 | |
---|
| 1802 | + cGridBag opacity = new cGridBag(); |
---|
| 1803 | + opacity.add(opacityLabel = new JLabel("Opacity")); // , aConstraints); |
---|
| 1804 | + opacityLabel.setHorizontalAlignment(SwingConstants.TRAILING); |
---|
| 1805 | + opacity.add(opacityField = new cNumberSlider(this, 0.001, 1)); // , aConstraints); |
---|
| 1806 | + colorSection.add(opacity); |
---|
| 1807 | + |
---|
| 1808 | + colorSection.add(GetSeparator()); |
---|
| 1809 | + |
---|
1757 | 1810 | cGridBag texture = new cGridBag(); |
---|
1758 | 1811 | texture.add(textureLabel = new JLabel("Texture")); // , aConstraints); |
---|
1759 | 1812 | textureLabel.setHorizontalAlignment(SwingConstants.TRAILING); |
---|
1760 | 1813 | texture.add(textureField = new cNumberSlider(this, 0.001, 1, -0.5)); // , aConstraints); |
---|
1761 | 1814 | colorSection.add(texture); |
---|
1762 | 1815 | |
---|
1763 | | - panel.add(new JSeparator()); |
---|
| 1816 | + panel.add(GetSeparator()); |
---|
1764 | 1817 | |
---|
1765 | 1818 | panel.add(colorSection); |
---|
1766 | 1819 | |
---|
.. | .. |
---|
1816 | 1869 | shadowbias.add(shadowbiasField = new cNumberSlider(this, 0.001, 50, -1)); // , aConstraints); |
---|
1817 | 1870 | diffuseSection.add(shadowbias); |
---|
1818 | 1871 | |
---|
1819 | | - panel.add(new JSeparator()); |
---|
| 1872 | + panel.add(GetSeparator()); |
---|
1820 | 1873 | |
---|
1821 | 1874 | panel.add(diffuseSection); |
---|
1822 | 1875 | |
---|
.. | .. |
---|
1879 | 1932 | specularSection.add(anisoV); |
---|
1880 | 1933 | |
---|
1881 | 1934 | |
---|
1882 | | - panel.add(new JSeparator()); |
---|
| 1935 | + panel.add(GetSeparator()); |
---|
1883 | 1936 | |
---|
1884 | 1937 | panel.add(specularSection); |
---|
1885 | 1938 | |
---|
.. | .. |
---|
1904 | 1957 | backlitLabel.setHorizontalAlignment(SwingConstants.TRAILING); |
---|
1905 | 1958 | backlit.add(backlitField = new cNumberSlider(this, 0.001, 50, -1)); // , aConstraints); |
---|
1906 | 1959 | colorSection.add(backlit); |
---|
1907 | | - |
---|
1908 | | - cGridBag opacity = new cGridBag(); |
---|
1909 | | - opacity.add(opacityLabel = new JLabel("Opacity")); // , aConstraints); |
---|
1910 | | - opacityLabel.setHorizontalAlignment(SwingConstants.TRAILING); |
---|
1911 | | - opacity.add(opacityField = new cNumberSlider(this, 0.001, 1, -0.5)); // , aConstraints); |
---|
1912 | | - colorSection.add(opacity); |
---|
1913 | 1960 | |
---|
1914 | 1961 | //panel.add(new JSeparator()); |
---|
1915 | 1962 | |
---|
.. | .. |
---|
1955 | 2002 | opacityPower.add(opacityPowerField = new cNumberSlider(this, 0.0, 10 /*10 dec 2013*/)); // , aConstraints); |
---|
1956 | 2003 | textureSection.add(opacityPower); |
---|
1957 | 2004 | |
---|
1958 | | - panel.add(new JSeparator()); |
---|
| 2005 | + panel.add(GetSeparator()); |
---|
1959 | 2006 | |
---|
1960 | 2007 | panel.add(textureSection); |
---|
1961 | 2008 | |
---|
.. | .. |
---|
3254 | 3301 | { |
---|
3255 | 3302 | copy.live ^= true; |
---|
3256 | 3303 | return; |
---|
3257 | | - } else if (event.getSource() == selectCB) |
---|
| 3304 | + } else if (event.getSource() == selectableCB) |
---|
3258 | 3305 | { |
---|
3259 | 3306 | copy.dontselect ^= true; |
---|
3260 | 3307 | return; |
---|
.. | .. |
---|
3645 | 3692 | |
---|
3646 | 3693 | cRadio tab = GetCurrentTab(); |
---|
3647 | 3694 | |
---|
3648 | | - byte[] compress = CompressCopy(); |
---|
| 3695 | + byte[] compress = CompressCopy(); // Saved version. No need for "Replace". |
---|
3649 | 3696 | |
---|
3650 | 3697 | boolean thesame = false; |
---|
3651 | 3698 | |
---|
.. | .. |
---|
3712 | 3759 | |
---|
3713 | 3760 | copy.clear(); |
---|
3714 | 3761 | |
---|
| 3762 | + copy.skyboxname = obj.skyboxname; |
---|
| 3763 | + copy.skyboxext = obj.skyboxext; |
---|
| 3764 | + |
---|
3715 | 3765 | for (int i=0; i<obj.Size(); i++) |
---|
3716 | 3766 | { |
---|
3717 | 3767 | copy.add(obj.get(i)); |
---|
.. | .. |
---|
4772 | 4822 | readobj.ResetDisplayList(); |
---|
4773 | 4823 | } catch (Exception e) |
---|
4774 | 4824 | { |
---|
4775 | | - //e.printStackTrace(); |
---|
| 4825 | + if (!e.toString().contains("GZIP")) |
---|
| 4826 | + e.printStackTrace(); |
---|
| 4827 | + |
---|
4776 | 4828 | try |
---|
4777 | 4829 | { |
---|
4778 | 4830 | java.io.FileInputStream istream = new java.io.FileInputStream(fullname); |
---|
.. | .. |
---|
4852 | 4904 | { |
---|
4853 | 4905 | //readobj.deepCopySelf(copy); |
---|
4854 | 4906 | copy.clear(); // june 2014 |
---|
| 4907 | + copy.skyboxname = readobj.skyboxname; |
---|
| 4908 | + copy.skyboxext = readobj.skyboxext; |
---|
4855 | 4909 | for (int i = 0; i < readobj.size(); i++) |
---|
4856 | 4910 | { |
---|
4857 | 4911 | Object3D child = readobj.get(i); // reserve(i); |
---|
.. | .. |
---|
4892 | 4946 | } |
---|
4893 | 4947 | } catch (ClassCastException e) |
---|
4894 | 4948 | { |
---|
| 4949 | + e.printStackTrace(); |
---|
4895 | 4950 | assert (false); |
---|
4896 | 4951 | Composite c = (Composite) copy; |
---|
4897 | 4952 | c.children.clear(); |
---|
.. | .. |
---|
5022 | 5077 | //ps.print(buffer.toString()); |
---|
5023 | 5078 | } catch (IOException e) |
---|
5024 | 5079 | { |
---|
| 5080 | + e.printStackTrace(); |
---|
5025 | 5081 | } |
---|
5026 | 5082 | } |
---|
5027 | 5083 | |
---|