org.netbeans.modules.projectuiapi/1 1.13.22 5

org.netbeans.spi.project.ui.support
Class ProjectChooser

java.lang.Object
  extended by org.netbeans.spi.project.ui.support.ProjectChooser

public class ProjectChooser
extends Object

Support for creating project chooser.


Method Summary
static File getProjectsFolder()
          Returns the folder last used for creating a new project.
static JFileChooser projectChooser()
          Creates a project chooser.
static void setProjectsFolder(File folder)
          Sets the folder last used for creating a new project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProjectsFolder

public static File getProjectsFolder()
Returns the folder last used for creating a new project.

Returns:
File the folder, never returns null. In the case when the projects folder was not set the home folder is returned.

setProjectsFolder

public static void setProjectsFolder(File folder)
Sets the folder last used for creating a new project.

Parameters:
folder - The folder to be set as last used. Must not be null

projectChooser

public static JFileChooser projectChooser()
Creates a project chooser.

Returns:
New instance of JFileChooser which is able to select project directories.

org.netbeans.modules.projectuiapi/1 1.13.22 5

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.