aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Resizing JSplitPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Resizing JSplitPane" Watch "Resizing JSplitPane" New topic
Author

Resizing JSplitPane

Rani Vish
Greenhorn

Joined: Feb 03, 2006
Posts: 22
Hi Friends ,
Please give the solution for this,
I have a Frame with a JSplitPane as the main component. I have set the
JSplitPane to be OneTouchExpandable , and sets a AWT Canvas as upper element and JTextArea as lower Element, When I resize the one pane of
the JSplitPane horizontally,it goes down but never come up ,and awt canavs takes the spaces but never resize back ,what should i do ?
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
> what should i do ?

read this first

http://java.sun.com/products/jfc/tsc/articles/mixing/

then replace awt.canvas with a JPanel (and it's paintComponent())
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resizing JSplitPane
 
Similar Threads
JSplitPane equivalent in AWT?
JDialog sizing
Resizing in JSplitPane
JSplitPane problem
Problem in JDialogBox