Hello,

I have a JPanel that holds a BufferedImage. There are controls that let the
user zoom, pan, and rotate the image. When I zoom way in, so that the
BufferedImage becomes much larger than the JPanel, performance slows way
down.

For example, if I have a panel that is 300 x 300 which displays a 256 x 256
BufferedImage, initially the entire image is visible and I can pan it around
in the panel very quickly. However, if I zoom way in on just a small portion
of the image, the panning slows way down.

When the user manipulates the pan control, I update the AffineTransform and
call

panel.repaint();

using the zero parameter version of repaint.

Any suggestions that could boost my panning performance would be
appreciated.

Thank you,

Ted Hill

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to