FileDialog fileselect=new FileDialog(shell,SWT.SINGLE);
fileselect.setFilterNames(new String[]{"*.xls","所有文件"});
fileselect.setFilterExtensions(new String[]{"*.xls","*.*"});
String url="";
url=fileselect.open();
System.out.println(url);
SWT的文件选择对话框I的使用
最新推荐文章于 2021-10-11 10:26:32 发布