Java based documents and image viewer