"
A simple example of a JFileChooser is given in Test1.java
JFileChooser
Reference: How to Use File Choosers (Java Tutorial)