Bug 26247 JUnit: New Test Case wizard does not init dialogs when browsing for test class
Build 20021113 Open the new Test Case wizard Browse for a test class, select a class (e.g. TestCase), press OK Press the browse button again and press OK Previous selection is replaced with first entry in list. This happens because the dialog is not initialized with the current value (in my example TestCase).
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestCaseCreationWizardPage.java
/**
	 * Returns the index of the first method that is a test method, i.e. excluding main, setUp() and tearDown().
	 * If none of the aforementioned method stubs is created, then 0 is returned. As such method stubs are created,
	 * this counter is incremented.
	 */
	public int getIndexOfFirstMethod() {
		return fIndexOfFirstTestMethod;
	}
	private boolean createTasks() {
		return fPage2.getCreateTasksButtonSelection();
	}	
	private void validateSuperClass() {
		fMethodStubsButtons.setEnabled(2, true);
		fMethodStubsButtons.setEnabled(3, true);
		String superClassName= getSuperClass();
		if (superClassName == null || superClassName.trim().equals("")) { 
			fSuperClassStatus= new JUnitStatus();
			((JUnitStatus)fSuperClassStatus).setError("Super class name is empty"); 
			return;	
		}
		if (getPackageFragmentRoot() != null) { 
			try {
				IType type= resolveClassNameToType(getPackageFragmentRoot().getJavaProject(), getPackageFragment(), superClassName);
				JUnitStatus status = new JUnitStatus();				
				if (type == null) {
					status.setError(WizardMessages.getString("NewTestClassWizPage.error.superclass.not_exist")); 
					fSuperClassStatus= status;
				} else {
					if (type.isInterface()) {
						status.setError(WizardMessages.getString("NewTestClassWizPage.error.superclass.is_interface"));