This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamically Shrinking JPanels  RSS feed

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

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

Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!