tmpButton = new JButton(new ImageIcon("./guiSRC/images/Open24.gif"));
To get an image to a button; however I want to make it so that it'll work in both my IDE, and when its packed into a .jar.
What would be the way to go and get an image file from the project or after its been patched into the jar?

New Topic/Question
Reply



MultiQuote




|