Picture does not display in window

I'm taking a Java class in college and I can't figure out what is wrong with my program. The purpose of the program is to create a window that displays a picture. Now the windows appears, but not the picture. I tried replacing the JLabel object that contained the picture with one that contains a string and when I made the substitution, the program worked fine. But when I tried to put the picture back in it's proper place, again the window showed up with no picture. I'm stuck. Can anyone help me! I have attachd a copy of the source file.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories