A
autogoor
Hi, I am writing a "Window-Explorer-Like" file explorer with JTree. I
would like the root of the tree to be the highest directory on the
machine. For windows, it is "Desktop", which includes "My Documents",
"My Computer", "My network place", ... etc, as sub directory. On Unix,
I would like to start with "username". How can I get such root
directory by java?
Thanks,
autogoor
would like the root of the tree to be the highest directory on the
machine. For windows, it is "Desktop", which includes "My Documents",
"My Computer", "My network place", ... etc, as sub directory. On Unix,
I would like to start with "username". How can I get such root
directory by java?
Thanks,
autogoor