javax.swing.plaf.basic

Class BasicFileChooserUI.GoHomeAction

protected class BasicFileChooserUI.GoHomeAction extends AbstractAction

An action that changes the file chooser to display the user's home directory.

See Also: getGoHomeAction

Constructor Summary
protected GoHomeAction()
Creates a new GoHomeAction object.
Method Summary
voidactionPerformed(ActionEvent e)
Sets the directory to the user's home directory, and repaints the file chooser component.

Constructor Detail

GoHomeAction

protected GoHomeAction()
Creates a new GoHomeAction object.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Sets the directory to the user's home directory, and repaints the file chooser component.

Parameters: e the action event (ignored).