This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
I want to put icons somewhere in a beginner project, so as to call: Icon icon = new ImageIcon("myIcon.gif"); (or some variant with a path specified), and bung it onto a JLabel etc.
In the src folder of the project I've got a gui package containing: BuildGui.java
I've tried putting a test icon just about everywhere. Sometimes it shows up, but if so, when I fire up a shell, go to the dist folder that Netbeans creates, and try: java -jar MyIconDemo.jar no icons show.