chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); chooser.setFileFilter(null);
chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES); chooser.setFileFilter(directoryOrJar);
			public void actionPerformed(ActionEvent evt)			{				chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);				chooser.setFileFilter(null);//				chooser.setCurrentDirectory(GUISaveState.getInstance().getStarterDirectoryForLoadBugs());This is done by FBFileChooser				if (chooser.showOpenDialog(NewProjectWizard.this) == JFileChooser.APPROVE_OPTION)					directory.setText(chooser.getSelectedFile().getAbsolutePath());			}