No change for me. I guess I somehow need to define the NetBeans favorites to
make that panel appear.
But my application has not UI for setting favorites, and I hoped that it would
be possible to manage
them through the panel in the file chooser.
Am 01.03.25 um 19:12 schrieb Michael Bien:
Hi,
nice to hear that someone is using the favorites list integration :)
seems to work for me, tested it with:
JFileChooser fs = new FileChooserBuilder("/tmp").createFileChooser();
fs.showOpenDialog(null);
in a NetBeans application and it had the shortcuts panel with the favorites
list.
Could be potentially DirectoryChooserUI disabling the panel for some reason:
https://github.com/apache/netbeans/blob/f1988057a37239337579a165bc27337c870a6dd9/ide/o.n.swing.dirchooser/src/org/netbeans/swing/dirchooser/DirectoryChooserUI.java#L257-L261
you could try to start with -Dstandard-file-chooser=true, this should use the
JDK file chooser everywhere.
-mbien
On 01.03.25 16:46, avaluedcusto...@freenet.de wrote:
I would like to include the "favorites bar" in a file chooser from within my NetBeans
platform application (the same way the NetBeans IDE does it, when I enable "show favorites in
the file chooser" in the FlatLaf configuration.
But when I use FileChooserBuilder it displays the standard Swing JFileChooser
without a favorites panel.
I explicitly set FileChooser.noPlacesBar to FALSE during startup of my
application, but that doesn't seem to change anything.
When I use "File -> Open" inside the NetBeans IDE it does show the favorites I
registered inside the NetBeans IDE, not those from the operating system.
So it seems I must register them manually somehow, but I can't find an API for
that.
This needs to work on Linux in case that matters.
Any ideas or pointers?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists