Bug 22508 Add Variable Window Small/Not Persistant [build path]
1.It would be very useful if when you went to a java project -> properties it not only remembered that you were in Java Build Path but also that you were, for example in the "Libraries" page. Frequently, I have to go to a project and add a variable and switch pages to do so. 2. In the "Add Variable" option of the above listed page (Properties->Java Build Path-> Libraries) the variable list window is considerably to small for easy use and worse cannot be resized. 3. When going to "Extend..." of the above option, it would be convient to be able to simply double click an item/folder to expand it or select it rather than have to specifically select the tree expand box. Also, is there any reason this now uses a tree instead of the normal file browser as it was in Eclipse 1.0. (The tree is uneccesarily cluttered with non compatible files like .txt, instead of just .jar and .zip files). Thanks! ~Scott Admiraal ~IBM PvC - Telematics
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/JavaCapabilityConfigurationPage.java
}
	
	/**
	 * Returns the Java project that was passed in <code>init</code> or <code>null</code> if the 
	 * page has not been initialized yet.
	 * 
	 * @return the managed Java project or <code>null</code>
	 */	
	public IJavaProject getJavaProject() {
		return fJavaProject;
	}	
	
	/**
	 * Returns the runnable that will create the Java project or <code>null</code> if the page has 
	 * not been initialized. The runnable sets the project's classpath and output location to the values 
	 * configured in the page and adds the Java nature if not set yet. The method requires that the 
	 * project is created and opened.
	 *
	 * @return the runnable that creates the new Java project
	 */		
	public IRunnableWithProgress getRunnable() {
		if (getJavaProject() != null) {
			return new IRunnableWithProgress() {
				public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
					try {
						configureJavaProject(monitor);
					} catch (CoreException e) {
						throw new InvocationTargetException(e);
					}
				}