I am trying to export a project using eclipse, and the Images that I have in a separate folder do not export. I have tried to use
image = new ImageIcon (Toolkit.getDefauleToolkit ().getImage("Image/image.png")); and
image = new ImageIcon (ImageIO.read (new File ("Image/image.png"))); and neither of them worked. It works when I run the program from eclipse, but not when I export. How could I fix this?
Thanks for the help.