JFrame not showing a picture
Following is the code I have so far: All the imports are correct. I'm sure. :D When I run the program, all I get is a blank frame, without the picture. It should show up. public class WindowPractice extends JFrame { final static int width= 800; final static int height= 400; int x; int y; Image steve; Dimension gamesize= new Dimension (width, height); public WindowPractice(){ setTitle ("Hangman"); setSize (gamesize); setVisible (true); setResizable (false); setLocationRelativeTo (null); setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); } public static void main (String[] args) { new