• 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
Pie
Posts: 20610
63
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