JFileChooser 的替代品 [英] Alternative to JFileChooser

查看:41
本文介绍了JFileChooser 的替代品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我请求对当前使用 JFileChooser 的小程序进行一些更改.
主要的抱怨之一是文件选择器使用起来很麻烦,因为它的行为与本机小部件不同,尤其是在导航到根级别时.

I've a request to make some changes to a little applet that currently use a JFileChooser.
One of the main complaints is that the file chooser is a pain in the ass to use because it behaves differently than the native widget, especially for navigating up to the root level.

因此,知道 JFileChooser 遇到的所有其他问题(例如 Windows 上的 zip 文件缓存...),我想知道 Java 世界中是否存在可行的替代方案.

So, knowing that and all the other issue JFileChooser suffer (like the zip file caching on windows...), I was wondering that a viable alternative exists in the java world.

当然,有使用原生小部件的 SWT,但将小程序大小增加 25 并不是一个真正的选择.那么,有没有更好的纯java实现的文件选择器?

Of course, there is SWT that use the native widget, but increasing the applet size by 25 is not really an option. So, is there a better pure java implementation of a file chooser?

推荐答案

你也可以试试 XFileDialog.还没有尝试过很多,但看起来值得评估.

You can also try XFileDialog. Haven't tried it much yet but looks worth evaluating.

这篇关于JFileChooser 的替代品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆