Bug 3622 New Package Wizard has confusing message (1GD0L9O)
1. Create a new Java Project 2. Select the project. 3. Invoke New Java Package. Result: Before you type anything the following message appears at the top: "A folder corresponding to the package name already exists". At this point my package name field is empty. What does this message mean? Is this an error? If so, should it be displayed in red with the error icon? NOTES: EG (5/1/2001 5:53:41 AM) there should be no error message when the package name field is empty and finish should be disabled. MA (5/2/01 9:34:00 AM) It is a warning. I will remove the message EG (5/2/01 9:43:44 AM) issue how to create a default package? It can't be created by the user since it always there.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewPackageCreationWizardPage.java
/**
	 * @see NewElementWizardPage#getRunnable
	 */		
	public IRunnableWithProgress getRunnable() {
		return new IRunnableWithProgress() {
			public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
				try {
					createPackage(monitor);
				} catch (JavaModelException e) {
					throw new InvocationTargetException(e);
				} catch (CoreException e) {
					throw new InvocationTargetException(e);
				} 
			}
		};
	}
	
	public IPackageFragment getNewPackageFragment() {
		return fCreatedPackageFragment;
	}
	
	protected void createPackage(IProgressMonitor monitor) throws JavaModelException, CoreException, InterruptedException {
		IPackageFragmentRoot root= getPackageFragmentRoot();
		String packName= getPackageText();
		fCreatedPackageFragment= root.createPackageFragment(packName, true, monitor);
	}	
}