Meaningless Drivel is fun!*
The moose likes Swing / AWT / SWT and the fly likes Increasing the Size of JPanel Dynamically. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Increasing the Size of JPanel Dynamically." Watch "Increasing the Size of JPanel Dynamically." New topic
Author

Increasing the Size of JPanel Dynamically.

satya sahu
Ranch Hand

Joined: Mar 26, 2003
Posts: 97
Hi all,
I am drawing squares and lines in a JPanel.The JPanel is added to the JScrollPane which in tern added to the right part of the JSplitPane.I want to increase the size of the JPanel by dragging the border. Mean to say the JPanel must have some border and if it is dragged the area of JPanel will be increased so that more area will be available to draw. It is like increasing the size of the contentPane in the JBuilder or as in form of the Visual Basic.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Increasing the Size of JPanel Dynamically.
 
Similar Threads
JTextPane viewable area
JCheckbox
JPanel inside JSPlitPane -autoresie
Fixed drawing area
Adding drawpanels to a frame