为了方便起见,根据一些条件,在打开文件选择对话框之前,应该设置它的初始目录。由于我绑定到Eclipse RCP / SWT,所以我正在使用org.eclipse.swt.widgets.FileDialog。这个FileDialog的文档指出要使用setFilterPath(String string)-method,它应该能做我需要的事情(参见)。FileDialog dialog = new FileDialog(shell, S
new FileBrowser();
});Exception in thread "main" org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.widgets.Display.checkD
public class ExportWizardPage extends WizardPage {
super(pageName);public void createControl(Composite parent) {
fileDialog= new FileDialog(parent.getShell(),