I am designing a (farly big) application for a company. With this application the users can generate content in the form of XML documents, which they might want to share among each other.
It might seem like a trivial question at first, but I need a default location when the user clicks the Save As button. Unfortunately there are different operating systems and I haven't worked with all of them, so I don't know what is a common thing to do. The .jar could be executed from anywhere and the current execution directory doesn't seem like a professional solution. Neither does the desktop. Is there a way to get a proper system depended location I could use? On windows C:/Program Files/APPLICATION_NAME
or C:/Users/USER/AppData/APPLICATION_NAME
is often used. In my research I also stumbled upon C:/Documents And Settings/All Users/Application Data/