zappsweden
Programmer
I am currently using some images and the only way it works is if i specify the path by something like "c:\\blabla\\myimage.gif"
here is how i use it for getting an image(btw is getImage any better than createImage? I just can't se any difference)
track = Toolkit.getDefaultToolkit().createImage("c:\\testtrack.gif"
How can i specify a filename in the same directory?
How can i specify a filename in a directory "up one level"
I have already tried for the same dir
".\\myimage.gif" or "myimage.gif"
and for up one level
"..\\myimage.gif"
and they don't work. PLEASE help!
here is how i use it for getting an image(btw is getImage any better than createImage? I just can't se any difference)
track = Toolkit.getDefaultToolkit().createImage("c:\\testtrack.gif"
How can i specify a filename in the same directory?
How can i specify a filename in a directory "up one level"
I have already tried for the same dir
".\\myimage.gif" or "myimage.gif"
and for up one level
"..\\myimage.gif"
and they don't work. PLEASE help!