Alex Styl
04/11/2024, 4:02 AMzt
04/11/2024, 5:34 AMAlexander Maryanovsky
04/11/2024, 6:24 AMeskatos
04/11/2024, 7:20 AMeskatos
04/11/2024, 7:21 AMcompose-multiplatform-file-picker
brings lwjql which sounds overkill for that purpose.eskatos
04/11/2024, 7:22 AMAlex Styl
04/11/2024, 8:36 AMAlexander Maryanovsky
04/11/2024, 8:42 AMAlex Styl
04/11/2024, 8:43 AMFileDialog
but there are no API on the class to ask for directories only.
you need to call
System.setProperty("apple.awt.fileDialogForDirectories", true)
before displaying the dialog
PS: That's on Mac OSeskatos
04/11/2024, 8:56 AMseb
04/11/2024, 3:13 PM