|
I have written an application using Java 2D that manipulates
two images at a time….it allows for zooming the images by clicking and
panning the images by clicking and dragging (both simultaneously and
independently). I would like to add
functionality so that the user can also scroll the images using scrollpanes, but I cant seem to get the scroll panes to adjust
and fit to the zoom levels…I know this may be a little vague, but can
someone tell me if there’s a way to manipulate how the scrollpanes viewport works with
the zoom…I cant seem to figure it out at all…any hints or help
would be much appreciated. I would
also like to know if there is a way to synchronize the scrollpanes
of the two images. Thanks for any assistance that anyone may be able to give
me. David Braun-Friedman |
