Bug 7487 Classpath variable edit error message wrong
Using build 2002-01-09 on Windows 2000 From the prefrerence dialog, I opened the page Java > Classpath Variables. I selected the ECLIPSE_HOME variable and pressed Edit. The content came up as ECLIPSE_HOME D:/eclipse-sdk/2001-12-04/eclipse I started editing the path by removing the 2001-12-04 section D:/eclipse-sdk//eclipse At that point I got the following red error message at the bottom of the dialog !VariableCreationDialogerror.invalidpath!
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java
/*
	 * @see Windows#configureShell
	 */
	protected void configureShell(Shell newShell) {
		super.configureShell(newShell);
		WorkbenchHelp.setHelp(newShell, new Object[] { IJavaHelpContextIds.VARIABLE_CREATION_DIALOG });
	}
	
	public CPVariableElement getClasspathElement() {
		return new CPVariableElement(fNameField.getText(), new Path(fPathField.getText()), false);
	}
	/*
	 * @see Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
	 */	
	protected Control createDialogArea(Composite parent) {
		Composite composite= (Composite)super.createDialogArea(parent);
		
		Composite inner= new Composite(composite, SWT.NONE);
		
		MGridLayout layout= new MGridLayout();
		layout.minimumWidth= SWTUtil.convertWidthInCharsToPixels(80, parent);
		layout.marginWidth= 0;
		layout.numColumns= 3;
		inner.setLayout(layout);
		
		int fieldWidthHint= SWTUtil.convertWidthInCharsToPixels(50, parent);
		
		fNameField.doFillIntoGrid(inner, 2);
		LayoutUtil.setWidthHint(fNameField.getTextControl(null), fieldWidthHint);