public static void abrirDiretorio() {
if (Desktop.getDesktop().isSupported(Action.BROWSE_FILE_DIR)) {
File directory = new File("c:\temp");
// Open directory with browse_file_dir option
Desktop.getDesktop().browseFileDirectory(directory);
}
}