Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamically Shrinking JPanels

 
maha devan
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a Panel and placed some Icons connected by a Line Graphic.
Each Icon is a object of JLabel.
I am adding a Zoom-In Zoom-out Option with an JSlider to it. Is there any way I can shrink the total panel so that all my icons appears to be small when I zoom out and vice versa.

Or I have to change the size of each object(JLabel) dynamicaly to attain this functionality

Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!