(I tried searching for this topic through the archives but was unable to find a clear answer to my question, so please bear with me!)
I have this
Java Swing application in which I need to display image files - GIF, PNG, and JPEG initially. TIFF (and optionally PDF) will be dealt with later on. The image files will be retrieved from a server application and even at their smallest size will be 640x480 pixels. All image manipulations (rotation, zoom in, zoom out, etc.) will be done by the server so all my application has to do is just display the retrieved image file.
What container or component should I use for this purpose? I would prefer to make this container/component be scrollable by putting it inside a JScrollPane . Or if there are other better ways to make such a displayed image scrollable, please let me know.
Lastly, would I need to use the Java 2D API to display/render the image files or would I need to look at some other API/library?
I am using Java 1.5 and Swing.
Thanks!