SWT的文件选择对话框I的使用

swt文件选择框

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);

上一篇:IDEA中MAVEN项目Dependency not found 问题


下一篇:vue通信