Bug 41239 Compile error in JDT JUnit due to SWTUtil [JUnit]
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.java
}
		dialog.setTitle(JUnitMessages.getString("JUnitPreferencePage.addtypedialog.title")); 
		dialog.setMessage(JUnitMessages.getString("JUnitPreferencePage.addtypedialog.message")); 
		if (dialog.open() == IDialogConstants.CANCEL_ID)
			return;
		Object[] types= dialog.getResult();
		if (types != null && types.length > 0) {
			IType type= (IType) types[0];
			fStackFilterContentProvider.addFilter(type.getFullyQualifiedName('.'), true);
		}
	}
	private void addPackage() {
		Shell shell= getShell();
		ElementListSelectionDialog dialog= null;
		try {
			dialog= JUnitPlugin.createAllPackagesDialog(shell, null, true);
		} catch (JavaModelException jme) {
			String title= JUnitMessages.getString("JUnitPreferencePage.addpackagedialog.title"); 
			String message= JUnitMessages.getString("JUnitPreferencePage.addpackagedialog.error.message"); 
			ExceptionHandler.handle(jme, shell, title, message);
			return;
		}
		dialog.setTitle(JUnitMessages.getString("JUnitPreferencePage.addpackagedialog.title")); 
		dialog.setMessage(JUnitMessages.getString("JUnitPreferencePage.addpackagedialog.message")); 
		dialog.setMultipleSelection(true);
		if (dialog.open() == IDialogConstants.CANCEL_ID)
			return;
		Object[] packages= dialog.getResult();
		if (packages == null)
			return;