The only thing I can think of looking at this code is: do you have an image file called LogoGIF.GIF in a subdirectory called JavaProgram2? Also, you have added the logoLabel to the panel, but you haven't provided the code where you add the logo to the panel or the panel to the rest of your GUI. Are you doing that?
Reputation Points: 395
Solved Threads: 192
Veteran Poster
Offline 1,136 posts
since Aug 2007