Tested with java -jar flatlaf-demo-3.7.jar
On Mac and Linux the flatlaf theme (dark/light) that the application is using is respected for the native file chooser that comes up.
On Windows the OS theme is used for the native file chooser that comes up.
On windows this can result in something like this:
Wanted:
Same behaviour across different OS:es. Preferably that application theme is used (like it is on Mac and Linux).