开发者

Better JFileChooser alternatives for OS X, Linux?

开发者 https://www.devze.com 2023-02-17 22:40 出处:网络
JFileChooser, at least under OS X, produces a very half-baked open dialog that doesn\'t support things like typing in the start of a file name to select it or disclosure triangles.

JFileChooser, at least under OS X, produces a very half-baked open dialog that doesn't support things like typing in the start of a file name to select it or disclosure triangles.

Does anyone know of a 3rd-party alternative that has a more fully-featured behaviour? Ideally, I'd like one for each major platform. I'm aware of XFileDialog for windows, but what about Mac and Linux/Unix?

I开发者_如何学Pythonn comparison:

Better JFileChooser alternatives for OS X, Linux?

Better JFileChooser alternatives for OS X, Linux?


Does java.awt.FileDialog do what you want, you may need to specify

System.setProperty("apple.awt.fileDialogForDirectories", "true");

if you want to get a directory though


I found the Quaqua Look & Feel, which upgrades JFileChooser a bit - it's still not perfect, but it's arguably better.

0

精彩评论

暂无评论...
验证码 换一张
取 消