Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ImageIcon.getImage() returning null

843804Nov 15 2004 — edited Nov 16 2004
Hi,
I have a class, say ABC, which extends ImageIcon....when I do .getImage() ...its returning null...any idea why? I know the ABC icon exists, b/c i can add it to a JLabel and see it...but when I do getImage its null...

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 14 2004
Added on Nov 15 2004
48 comments
1,090 views