I don't seem to be able to reference an image in my netbeans project. Here is what it looks like in netbeans:
http://picasaweb.google.com/cendrizzi/JavaStuff/photo#5068570476760118770
Here is my code that I'm using to reference one of these images:
URL imageURL = this.getClass().getResource("images/clock.png");
Image image = Toolkit.getDefaultToolkit().getImage(imageURL);
I'm really new at this so I'm not sure what I'm doing wrong. I've tried "images/clock.png" as shown and just "clock.png" . Neither seems to find it there.
Thanks!