>I can concatenate the full path to the file name and store it(i dont like this idea.)
This is the best you can do. It is actually a good idea because
it is correct. Java does not know anything about current working
directory. Your request to open a "filename" is just passed to
the OS and it will do whatever it can.
the problem may be too simple but trust me i really need help.
If you yourself percieve that this problem may be too simple,
it should stop you from posting it in advanced forum.
P.
[ February 18, 2005: Message edited by: Petr Blahos ]