开发者

JFileChooser and browsing networked machines [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations fo开发者_如何学Gor books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I am working on a little program that needs the ability to let users browse files and directories on networked machines as well as the local filesystem. I made the mistake of developing this component on a Windows machine... it worked fine there, but hid the fact that JFileChooser doesn't really "see" networked drives. On Windows, the "Network Neighborhood" shows up in JFileChooser. But apparently this is not typical, as networked drives are not Files.

When I added the chooser component to my program and tested it on a couple of Linux machines, I discovered what I should have already known... JFileChooser doesn't browse the network. So now I am at a crossroads, and could really use some advice. Is there a (Java) alternative I should be using? Or should I keep working with JFileChooser to coerce it into the behavior I need?


This might help.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜