This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Resizing in JSplitPane
JSplitPane equivalent in AWT?
Problem in JDialogBox
JDialog sizing
JSplitPane problem