You put the absolute path of the file, but did it find the file? You enclosed your directory names in single quotes, which doesn't make sense to me. I doubt it is finding the file. Read this which describes what will happen if the image isn't found: nothing will happen, the ImageIcon will be created normally, it just won't paint anything. Furthermore, you should read that article, it describes the whole process in detail and gives you helpful code and methods. Oh, and it looks like you never set a preferred or an absolute size on the JPanel. .
:)
BestJewSinceJC
Posting Maven
2,772 posts since Sep 2008
Reputation Points: 874
Solved Threads: 354