code: public static void main(final String[] args) throws IOException {
  		Utils4Swing.initSystemLookAndFeel();
  		DirectorySelector.Result result;
  		try {
  			result = DirectorySelector.selectDirectory(
  					"Please select the destination directory:", new File(".")
  							.getCanonicalPath(), true);
  			System.out.println("SELECTED=" + result.getDirectory()
  					+ ", SUBDIRS=" + result.isIncludeSubdirs());
  		} catch (CanceledException e) {
  			System.out.println("CANCELED!");
  		}
  	}
docs: Starts the selector for a test.
  
  @param args
  Not used.
  
  @throws IOException
  Error creating the canonical path for the current directory.