Hey!
Was reading some online tuts and best practices and it says do not save direct file to paths like this:
because when you distribute your programs the other person (rightfully) wont have the files in the same path.Code:ImageIcon imageBack = new ImageIcon("C:\\Users\\RyanFuji\\workspace\\Ryan\\src\\Capture.png");
or
setIconImage(Toolkit.getDefaultToolkit().getImage("C:\\Users\\RyanFuji\\workspace\\Ryan\\src\\MU-Red-icon.png"));
Unfortunately it does not say HOW to do it instead.
Doing a search on google for paths and files as you can imagine gives me mostly class paths and java.io :rolleyes:
How to do this so it works everywhere?

