Hi,
I am building a pure Java swing application using Project Builder. I have a few images that I need to display as button icons. However, using:
button.setIcon(new ImageIcon("myImage.jpg"));
doesn't display anything.
I have tried JPEG and PNG images. I have tried both including them in a subfolder and at the root level of the project.
Can anyone help?
Thanks in advance.
Amar