Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.modules.projectuiapi/1 1.13.22 5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.modules.projectuiapi/1 1.13.22 5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.