62,615
社区成员
发帖
与我相关
我的任务
分享
File imageFile = chooser.getSelectedFile(); //chooser是JFileChooer的一个实例
String filePath = imageFile.getAbsolutePath();
File imageFile = new File(chooser.getSelectedFile()); //chooser是JFileChooer的一个实例
String filePath = imageFile.getAbsolutePath();