Sketchbook has changed, update it on next viewing.
()
| 1891 | |
| 1892 | /** Sketchbook has changed, update it on next viewing. */ |
| 1893 | public void rebuildSketchbookFrame() { |
| 1894 | if (sketchbookFrame != null) { |
| 1895 | sketchbookFrame.rebuild(); |
| 1896 | /* |
| 1897 | boolean visible = sketchbookFrame.isVisible(); |
| 1898 | Rectangle bounds = null; |
| 1899 | if (visible) { |
| 1900 | bounds = sketchbookFrame.getBounds(); |
| 1901 | sketchbookFrame.setVisible(false); |
| 1902 | sketchbookFrame.dispose(); |
| 1903 | } |
| 1904 | sketchbookFrame = null; |
| 1905 | if (visible) { |
| 1906 | showSketchbookFrame(); |
| 1907 | sketchbookFrame.setBounds(bounds); |
| 1908 | } |
| 1909 | */ |
| 1910 | } |
| 1911 | } |
| 1912 | |
| 1913 | |
| 1914 | public void showSketchbookFrame() { |
no test coverage detected