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.

Member Avatar for 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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.