so this is how my code looks in NetBeans:
and this is how it looks after I complied it
I think it has to do with this
ImageIcon background = new ImageIcon(getClass().getResource("/Graphics/BackgroundConcept.jpg"));
img = background.getImage();
I put all the picture in the src
folder and it wont load BUT it load other picture for the title screen.
But I'm using this type of input
Image image=new ImageIcon(getClass().getResource("/Graphics/titleScreen.jpg")).getImage();
g.drawImage(image,0,0,this);
and
Image GameCredits=new ImageIcon(getClass().getResource("/Graphics/credits.gif")).getImage();
The problem is I'm not adding it to a JFrame.
It is long code so I'll post it in pastebucket, basically its moving the background images as I move.
It works in NetBeans but I needed a compiled version.