import javax.swing.JFileChooser; import org.eclipse.swt.internal.win32.TCHITTESTINFO; public class test { public static void main(String[] args) { JFileChooser f = new JFileChooser(); int result = f.showOpenDialog(null);//执行文件选择窗口 if (result==f.APPRO