File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Using JAI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Using JAI" Watch "Using JAI" New topic
Author

Using JAI

Jennifer Sohl
Ranch Hand

Joined: Feb 28, 2001
Posts: 455
I have downloaded JAI so I have the ability to view .tif images in an application. I somehow need to use JAI to create an image preview in a JFileChooser, but I'm not really sure how to go about it. I don't really understand the imaging stuff very well yet, but I'm trying!
This is currently the ImagePreview class used to display images in the JFileChooser (From sun's tutorial):


It currently only displays .jpg and .gif images. How do I incorporate JAI into this class I already have, so .tif images can be previewed?
(If anyone knows of a good book on the imaging stuff in java, please let me know!)

Thanks for any help!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using JAI