I'm looking for a way which allows the user to open the file explorer once a button has been pressed, and allow the user to choose an image file, but instead of opening it, return the file location. Is there anyway this can be done?
1 Answer
The question depends, what API are you intending to use?
Swing has JFileChooser
AWT has FileDialog
JavaFX has FileChooser
For example...
2 Comments
Ted West
I'm intending to use JavaFX
MadProgrammer
Take a look at the supplied link. It should just about provide you with everything you need...