| Author |
Getting the users directory path
|
cardwell cupp
Ranch Hand
Joined: Aug 16, 2001
Posts: 66
|
|
Is it possible to get the directory that the java file is being run from? I am writing some code that has to do with icons(it is not an applet), I don't want to have to hard code the paths. Thanks all for the help Cardwell
|
 |
Marilyn de Queiroz
Sheriff
Joined: Jul 22, 2000
Posts: 9033
|
|
|
Check out the methods in the java.io.File class
|
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
|
 |
 |
|
|
subject: Getting the users directory path
|
|
|