May 2nd, 2000, 01:01 PM
Hi,
I use the JSplitPane which contains 2 components, for example:
MainPanel = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, pane1, pane2);
MainPanel.setOneTouchExpandable(true);
MainPanel.setDividerLocation(150);
Dimension minimumSize = new Dimension(100, 50);
pane1.setMinimumSize(minimumSize);
pane2.setMinimumSize(minimumSize);
I use the subcomponents pane1 and pane2 for drawing. After changing the size of these two components (by moving the "devider" to the left or right)
it is not possible to draw on the components? WHY ???
Thanks!
I use the JSplitPane which contains 2 components, for example:
MainPanel = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, pane1, pane2);
MainPanel.setOneTouchExpandable(true);
MainPanel.setDividerLocation(150);
Dimension minimumSize = new Dimension(100, 50);
pane1.setMinimumSize(minimumSize);
pane2.setMinimumSize(minimumSize);
I use the subcomponents pane1 and pane2 for drawing. After changing the size of these two components (by moving the "devider" to the left or right)
it is not possible to draw on the components? WHY ???
Thanks!