I am currently trying to simply display an image within a JFrame.  I have tried using the below code but it doesn't seem to work.  I can't work out where I am going wrong - any ideas?
This is the error message displayed in the console:
Exception in thread "main" java.lang.NullPointerException
    at javax.swing.ImageIcon.<init>(Unknown Source)
    at Day1.PictureTester.<init>(PictureTester.java:22)
    at Day1.PictureTester.main(PictureTester.java:14)
Here is the code:
import java.awt.GridLayout;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
public class PictureTester extends JFrame{
    private static final long serialVersionUID = 1L;
    public static void main(String[] args) {
        new PictureTester().setVisible(true);
    }
    public PictureTester(){
        super();
        setSize(600, 600);
        setLayout(new GridLayout());
        java.net.URL imgUrl = PictureTester.class.getResource("C:\\Users\\Harry\\Desktop\\LearnJava\\pug-image3.jpg");
        ImageIcon image = new ImageIcon(imgUrl);    
        JLabel display = new JLabel(image);
        add (display);
    }
}
 
     
     
     
    