I'm customizing JFileChooser for application atwork. One of the thinks I want it to do is open it as default directory My Computer with list of all hard drives, optical drives or nay other storage which you get once you open it.
Why I want to do it? Every b***y computer here has diferent setings for default directory and I would prefert to start from My Computer option to avoide any diffulties for user using this application on somebody else pc.

10 Years
Discussion Span
Last Post by iamthwee

I've not tried this, and perhaps there might be an easier way, but when you press the "folder/directory up button" you should eventually be able to navigate to my computer right?

Therefore couldn't use just code it so at start up the program automatically activates the folder up button and stops when it gets to my computer. I.e perform string match for that path?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.