JFileChooser - 不浏览“已安装的驱动器”;在 Windows Server 2008 机器中

发布于 2024-09-12 14:36:48 字数 202 浏览 4 评论 0原文

我在我的 java 工具之一中使用 JFileChooser 来浏览文件位置。

浏览已安装的驱动器时出现问题 - 我们只能选择已安装的驱动器,但无法进入下一级/打开并浏览已安装的位置。

但在windows server 2003中可以正常运行,但在windows server-2008中无法进行操作。

有人遇到过类似的问题吗?需要您的建议!

I use JFileChooser in one of my java tool to browse file locations.

It has a problem in browsing into the mounted drives - We can just chose the mounted drive but cannot go to next level/open and browse into the mounted location.

But it works fine in windows server 2003 , but could not do the operation in windows server-2008.

Has any one experienced a similar issue ? Need your advice !

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

油焖大侠 2024-09-19 14:36:48

我认为另一个问题可以回答这个问题。请参阅,了解如何使用VFSJFileChooser,它允许从网络驱动器中选择文件/文件夹,并且基于 Apache Commons VFS

I think another question has the answer for this. See this, on how to use a VFSJFileChooser, which enables choosing files/folders from network drives and is based on Apache Commons VFS

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文