This project provides a Swing image viewer component.
See the wiki for additional details and screenshots,
and the Javadoc API located here.
Features
- integrated scroll pane
- multiple resize policies
- popup menu to set viewing settings and save the image
- mouse listeners in image coordinate system
- overlays to draw over the image
- status bar support
Using
The library resides in the central Maven repository with
group ID hu.kazocsaba
and artifact ID image-viewer
. If
you use a project management system which can fetch dependencies
from there, you can just add the library as a dependency. E.g.
in Maven:
<dependency>
<groupId>hu.kazocsaba</groupId>
<artifactId>image-viewer</artifactId>
<version>a.b.c</version>
</dependency>
Otherwise you can download it directly.