Re:The decline and fall of Java on the desktop
by Macha on Wednesday March 02, 2022 @02:32PM
(#30531766)
Swing's platform look and feel does not get a convincing native experience, as you'll find out the first time you open a JFileChooser on Mac and see a clone of the windows XP file picker with widgets made to look like mac OS widgets circa Snow Leopard.
[ Parent
| on HN ]
Re:The decline and fall of Java on the desktop
by shannah78 on Wednesday March 02, 2022 @03:19PM
(#30532496)
The FileDialog is the only AWT widget I still use regularly. It gives you the native file chooser. Unfortunately it isn't terribly flexible when it comes to, for example, only selecting directories. In those cases, I have been known to use JNI to use the truly native dialog.