我一直在制作一个使用 JFileChooser 的程序。我已经设置了应用程序
UIManager.getSystemLookAndFeelClassName()
这适用于 Ubuntu 下的几乎所有东西。到目前为止,我遇到的唯一问题是 JFileChooser 看起来非常糟糕:
有没有办法让它看起来像 Ubuntu 中的默认文件选择器?IE。
我试过使用
UIManager.getCrossPlatformLookAndFeelClassName()
这使得 JFileChooser 对话框看起来更好,但仍然不是原生的,它也破坏了应用程序的其余部分。
谢谢。