2010-12-11 53 views

回答

6

您应该调用chooser.getSelectedFile()而不是chooser.getCurrentDirectory(),这将返回用户在filechooser中导航的当前目录。你的情况是C:\Windows

相关问题