Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Increasing the Size of JPanel Dynamically.

 
satya sahu
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic