I have buttons for add/edit/delete in my module with corresponding icons on each instead of text. My png image files were in an image folder in my client src folder.
I was using: Icon add = new ImageIcon(“add.png”);
This was working at one time, but now I have only tiny, empty buttons. The only thing I can think of that changed is upgrading Ignition to 7.3
I tried: ImageIcon add = new ImageIcon(getClass().getResource(“images/add.png”));
But then I get serialization errors due to NullPointerException when I open the window with my module on it.
Any thoughts or suggestions?