Huh?
Hi first of all.
What do you mean with "changing the current directory"?
When you want to save or load some files, there is no problem to get there base.
But when you want to change the directory which is given by the methods, for example: getCodeBase ( ):URL or getDocumentBase ( ):URL, it isn't possible to change it, cause the
Applet is there and wouldn't move for you. Also the directory base couldn't changed with jdk1.2.x.
But take a look at System.getPrperties ( ) and System.setProperties. Espacialy at the properties user.dir, user.home They could be set and you can use them to navigate from a known point in the file-system to save and load the needed data.
I hope it helps.
j.a.n.s