posted 17 years ago
actually, you do have to read the content of the document if you expect to display it in a viewer.
I agree with the last post that we dont really have much information, but that said, my guess is that you'll need to study the Java2D API and use the code approach you find there to create an image based on the bytes that you read from the scanner. Then, add that image to a JPanel or whatever in your application.