|
-
May 2nd, 2000, 01:01 PM
#1
JSplitPane
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|