if (getSelectedResources().size() == 0)
if (getSelectedResources().size() == 0) { if (getErrorMessage() != null) setErrorMessage(null);
	protected boolean validateSourceGroup() {		if (!fExportClassFilesCheckbox.getSelection()				&& !fExportJavaFilesCheckbox.getSelection()) {			setErrorMessage(JarPackagerMessages.getString("JarPackageWizardPage.error.noExportTypeChecked")); //$NON-NLS-1$			return false;		}		if (getSelectedResources().size() == 0) 			return false;				if (fExportClassFilesCheckbox.getSelection() || !fExportJavaFilesCheckbox.getSelection())			return true;					// No class file export - check if there are source files		Iterator iter= getSelectedResourcesIterator();		while (iter.hasNext()) {			if (!(iter.next() instanceof IClassFile))				return true;		}		return false;	}