胡可微博新浪微博微博:java类中如何取得文件路径
来源:百度文库 编辑:中科新闻网 时间:2024/06/09 10:11:49
java类中如何取得文件路径
FileDialog fd = new FileDialog(mainWindow, "Choose File");
fd.show();
String filePath = "";
filePath = fd.getDirectory() + fd.getFile();