JDScrollBox Class:
-
This class is used in the
Scrolling Imagemap Applet
. It may also be usefull in other Java programs. It implements a
viewport in which a much larger image can be viewed. The image
is scrolled by dragging a "zoom" rectangle in a small index image
in the lower right corner. Here is the Java source code file for
the JDScrollBox class
(make sure you save it as a *.java file).
This is a
simple applet example
that uses the JDScrollBox class. Here is the
source code
for this simple applet.
The
many scroll boxes example
shows many scroll boxes in one applet. Some use the same pictures but
with different scaling factors. Here is the
source code for the many scroll box example.
.
Back to Java Page
Back to John Donohues's Homepage
Questions or Comments to:
Last Updated 11/15/97