File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Validating an ImageIcon... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Validating an ImageIcon..." Watch "Validating an ImageIcon..." New topic

Validating an ImageIcon...

Barry Brashear
Ranch Hand

Joined: Jun 05, 2001
Posts: 303
If you are creating an ImageIcon from a byte[] array, is there a way to
validate that is a valid image?

It is sorta covered in the JavaRanch Style Guide.
subject: Validating an ImageIcon...
It's not a secret anymore!