Skip to content

FXFileChooser 0.0.7

Compare
Choose a tag to compare
@Oliver-Loeffler Oliver-Loeffler released this 19 Dec 22:16
· 240 commits to master since this release

What's Changed

Bug fixes

  • When using the net.raumzeitfalle.fx.filechooser.FXFileChooserDialog version, a double click on a file inside the dialog will cause the file to be selected. With oder versions the dialog was just closed and no file was returned. Thanks to @ArchibaldBienetre for pointing this out and testing!

New functions

  • When typing a fully qualified directory name in the filter criterion TextField, with pressing [RETURN] the file chooser will change the directory without using the Directory Chooser.
  • When e.g. pasting a fully qualified path name pointing to a file from clipboard, by pressing [RETURN] the file chooser will switch to the directory where the file is supposed to exist, if the file exists, it will select the file. Pressing [RETURN] again will accept the file and close the file chooser.
  • The net.raumzeitfalle.fx.filechooser.SwingFileChooser no longer uses the system directory chooser but the net.raumzeitfalle.fx.dirchooser.DirectoryChooserView instead. Its also defined in FXML and its no longer a separate dialog, its a 2nd scene where the view changes to when requested. This DirectoryChooser uses a TreeView and scans only the first level of directories. For crowded directories a progress indicator is added to show the scanning activity. The scanned tree is kept in memory until one switches to another directory. This is quite experimental.

Release details:

The new artifact is available at https://search.maven.org.

<dependency>
   <groupId>net.raumzeitfalle.fx</groupId>
   <artifactId>filechooser</artifactId>
   <version>0.0.7</version>
</dependency>

Contributors

Many thanks to @ArchibaldBienetre for testing this with Java-18 and JavaFX18 - very cool that it still works on the modern runtime.