Create file chooser in java

In java, you can create file chooser using JFileChooser class.