question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FileChooser improvements

See original GitHub issue
  • Make ‘unsafe’ classes optional and extract them to vis-ui-contrib
    • FileChooserWinService not worth it
    • JNAFileDeleter
  • Add Refresh in popup menu
  • Different view modes
  • Display suggestions when typing file name
  • FileTypeFilter
    • Automatically append extension
  • Update wiki (FileChooser.setDefaultPrefsName())
  • File list sorting options
  • Show file modified date when using details view
  • When using DIRECTORIES selection mode, filter out files from list (don’t forget setSelectionMode must rebuild file list)
  • Drag and drop (maybe post 1.1.0 though)
  • Allow to use FileWatcher from NIO instead of pooling
  • File detail / preview view mode (see comments below)
  • Automatic scroll focus shift (see https://github.com/kotcrab/vis-editor/issues/176#issuecomment-227273750)
  • List directory contents on separate thread (see https://github.com/kotcrab/vis-editor/issues/176#issuecomment-229851109)

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:27 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
kotcrabcommented, Sep 24, 2020

I responded in the linked issue to avoid notifying again all those people back from 2016. I guess it’s too late now 😃

If you want you can make a PR that will add allow hidden option for DefaultFileFilter.

1reaction
WickedShellcommented, Jul 1, 2016

Fetching the list of available files in a folder should be done off the GL thread as when referencing filesystems that are over the network or are on removable media the time can be extremely slow to build the list causing a significant and noticeable hitch in the UI (2-15 seconds depending on what I’m accessing of non responsiveness)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Use File Choosers - Oracle Help Center
See JDK Release Notes for information about new features, enhancements, ... To display a file chooser, you usually use the JFileChooser API to...
Read more >
JavaFX | FileChooser Class - GeeksforGeeks
FileChooser class is a part of JavaFX. It is used to invoke file open dialogs for selecting a single file (showOpenDialog), ...
Read more >
java - How can you change the appearance of a JavaFX ...
The native operating system's window manager handles the Open/Save dialog. Since FileChooser is a final class this won't be possible.
Read more >
JavaFX 15 Tutorial 44 - FileChooser - YouTube
In this tutorial, I will show you how to use the FileChooser class. The FileChooser allows users to navigate the file system and...
Read more >
Class FileChooser - Puppeteer Sharp
Methods. | Request doc improvement View Source. AcceptAsync(String[]). Accept the file chooser request with given paths.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found