Before I changed the PATH file I had the images in the "current working directory" but it did not find them. I changed the PATH to the folder that holds my projects, is that correct?
Which class supplys the getResource() and getResourceAsSt ream() methods?
Thanks...
User Profile
Collapse
-
Hello,
I managed to fix the problem in the end by changing the PATH variable in system settings after quite alot of mild annoyance over something that I thought should have just worked.
Thanks very much for your response!Leave a comment:
-
ImageIcon not showing
Hello, I am following a tutorial but have a problem.
With the following code the icons will not appear unless I specify the entire path to where they are located, I cant work out why it wont work, what am I missing?
Thanks for any help
...Code:public class IconFrame extends JFrame { JButton load, save, subscribe, unsubscribe; public IconFrame() { super("Icon Frame");
No activity results to display
Show More
Leave a comment: