JDirectoryChooser Java Bean 1.1.0

JDirectoryChooser

What is new in 1.1.0

  • Free for non-commercial use;
  • Optimized process of copying and moving directories;
  • Fixed bug with sorting renamed directories.

User's Features

The JDirectoryChooser provides user-friendly GUI for manipulating directories from Java application. User can either simply choose an existing directory from a tree or edit file system directories' tree structure by creating new directories, renaming, copying, moving or deleting existing directories.
  • Create new directories;
  • Delete existing directories;
  • Rename directories;
  • Copy directories;
  • Move directories.

Development Features

All properties and resources of JDirectoryChooser Java Bean can be edited at runtime. This feature is particulary useful if your application supports several languages or uses custom Look&Feel.

Another exclusive feature of JDirectoryChooser is runtime control over user's functionality: you can prevent novice users from doing unsafe actions (such as deleting of existing directories) and provide full control to the power user at the same time.
  • Customizable graphics;
  • Customizable text resources;
  • Runtime control over user's functionality;
  • Support for custom Look&Feels.

Integrate JDirectoryChooser into your application

Integration of JDirectoryChooser component into your application is fast and easy:
  1. Add jdc.jar to your application class path;
  2. Include JDirectoryChooser package into your sources:
      import com.jtechlabs.ui.widget.directorychooser.*;
    
  3. Add the following code to your application:
      // The following code pops up a directory chooser dialog
      // with initially selected user's home directory.
      //
      // The default settings are used for other paremeters, such as
      // access rights, parent frame, icons and text resources.
      
      File f = FileSystemView.getFileSystemView().getHomeDirectory();
    
      if ((f = JDirectoryChooser.showDialog(aParent,f)) != null) {
        // Replace the next line with your own implementation.
        System.out.println("You selected: " + f.getName());
      }
    

For more information about using JDirectoryChooser component in your development process please see our User's Guide »

 Download Now!