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

How create 'zoom' in JPanel ?

 
Andrzej Sydor
Greenhorn
Posts: 8
Android Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have image in JPanel ?

How create zoom on the image?
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

Zooming is actually little more than a visual trick. Just scale the image and cut off the parts you don't want in the zoomed in version.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!