this code is working when the image is not inside the folder.
ImageIcon icon = new ImageIcon(this.getClass().getResource("love.jpg"));
but when I putted the image inside the folder(resources), it doesn`t work anymore.
what should I add to this code so that I can call the image?
*Anyway, I am not using ECLIPSE. I am using Java netbeans