JFileChooser jfc = new JFileChooser("c:\\");
// Set some options
jfc.setFileSelectionMode(JFileChooser.FILES_ONLY);
//Add a custom file filter and false the default
jfc.addChoosableFileFilter(new ProjectFileFilter());
//(Accept All) file filter.
jfc.setAcceptAllFileFilterUsed(false);
// Set the default location
// Show the open file dialog