Skip to content

Simple Java swing widgets for selecting directories, more intuitive than using the JFileChooser dialog.

License

Notifications You must be signed in to change notification settings

waikato-datamining/simple-directory-chooser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-directory-chooser

Simple Java swing widgets for selecting directories, more intuitive than using the JFileChooser dialog.

By default, only a single directory can be selected, but this can be changed by calling the setMultiSelectionEnabled(boolean) method. Whether the returned directories are in order of selection or alphabetically ordered can be influenced with setSortSelectedDirectories(boolean).

Widgets

  • nz.ac.waikato.cms.adams.simpledirectorychooser.SimpleDirectoryChooserPanel - panel that displays the directory structure.
  • nz.ac.waikato.cms.adams.simpledirectorychooser.SimpleDirectoryChooser - javax.swing.JFileChooser-like dialog with very similar interface to make it easier to replace

Maven

Use the following dependency in your pom.xml:

    <dependency>
      <groupId>nz.ac.waikato.cms.adams</groupId>
      <artifactId>simple-directory-chooser</artifactId>
      <version>0.0.3</version>
    </dependency>

Examples

The following classes demonstrate the use of the widgets:

Screenshots

Linux

  • Panel

    Panel under Linux (default icons)

  • Dialog

    Dialog under Linux (default icons)

Windows

  • Panel

    Panel under Windows (default icons)

  • Dialog

    Dialog under Windows (default icons)

About

Simple Java swing widgets for selecting directories, more intuitive than using the JFileChooser dialog.

Topics

Resources

License

Stars

Watchers

Forks

Languages