Hi.
I am trying to endow a simple game with a GUI using the designing tool of NetBeans 5.5, thus I added a JFrame Form to my existing project. In the form'properties, where it says
iconImage I added the following piece of code:
new javax.swing.ImageIcon("images/Icon.gif").getImage()
In the source of the form it appears as:
setIconImage(new javax.swing.ImageIcon("images/Icon.gif").getImage());
The program compiles without any error but the icon is not displayed! Am I missing something???
Regards