I am a newbie to Java. I am trying to dynamically choose the file location to save the outcome of my project (to be initiated at the very start of my project). I worked around with a few FileDialog examples, but each one of them allows me to choose a file and not a folder.
Can anyone please help me with an example (or) link to one for the same?
You could try something like this (as shown here: Select a Directory with a JFileChooser):