hey all..i followed "thenewboston" tutorials in java for game development(3-7).I am having trouble in loading an image on the screen..i try this code:
bg = ImageIcon("C://TEST///Test.jpeg").getImage();
pic = ImageIcon("C://TEST///FACE.png").getImage();
this is the same code as his and i have made all the pictures in the TEST folder in c drive.
still i am getting and error(the code is underlined red).
i have included all the necessary files,But its still not working.
I am frustrated.
Please can sm1 guide me with a solution?
Thanks