Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JFileChooser
FileFilter
instance using
addChoosableFileFilter(FileFilter)
. Additional components can
be embedded in the file chooser using setAccessory(JComponent)
.
The JFileChooser properties also provide mechanisms to customize the
behaviour of the file chooser.
Nested Class Summary | |
protected class |
|
Nested classes/interfaces inherited from class javax.swing.JComponent | |
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container | |
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component | |
Component.AccessibleAWTComponent , Component.BltBufferStrategy , Component.FlipBufferStrategy |
Field Summary | |
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static int |
|
static String |
|
static int |
|
static String |
|
static String |
|
static String |
|
static int |
|
static String |
|
static String |
|
static int |
|
static String |
|
static int |
|
static int |
|
static int |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static int |
|
static int |
|
static String |
|
static String |
|
protected AccessibleContext |
|
Fields inherited from class javax.swing.JComponent | |
TOOL_TIP_TEXT_KEY , UNDEFINED_CONDITION , WHEN_ANCESTOR_OF_FOCUSED_COMPONENT , WHEN_FOCUSED , WHEN_IN_FOCUSED_WINDOW , accessibleContext , listenerList , ui |
Fields inherited from class java.awt.Component | |
BOTTOM_ALIGNMENT , CENTER_ALIGNMENT , LEFT_ALIGNMENT , RIGHT_ALIGNMENT , TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver | |
ABORT , ALLBITS , ERROR , FRAMEBITS , HEIGHT , PROPERTIES , SOMEBITS , WIDTH |
Constructor Summary | |
| |
| |
| |
| |
| |
|
Method Summary | |
boolean | |
void |
|
void |
|
void |
|
void |
|
void |
|
protected JDialog |
|
void |
|
protected void |
|
FileFilter |
|
AccessibleContext |
|
JComponent |
|
ActionListener[] |
|
int |
|
String |
|
String |
|
FileFilter[] |
|
boolean |
|
File |
|
String |
|
String |
|
int |
|
boolean |
|
FileFilter |
|
int |
|
FileSystemView |
|
FileView |
|
Icon | |
String | |
File |
|
File[] |
|
String |
|
FileChooserUI |
|
String |
|
boolean |
|
boolean |
|
boolean |
|
boolean |
|
boolean |
|
boolean |
|
protected String |
|
void |
|
boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
protected void |
|
int |
|
int |
|
int |
|
void |
|
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public static final String ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY
The name of the 'accept all file filter used' property.
- Field Value:
- "acceptAllFileFilterUsedChanged"
- See Also:
setAcceptAllFileFilterUsed(boolean)
public static final String ACCESSORY_CHANGED_PROPERTY
The name of the 'accessory' property.
- Field Value:
- "AccessoryChangedProperty"
- See Also:
setAccessory(JComponent)
public static final String APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY
The name of the property for the approve button mnemonic.
- Field Value:
- "ApproveButtonMnemonicChangedProperty"
- See Also:
setApproveButtonMnemonic(int)
public static final String APPROVE_BUTTON_TEXT_CHANGED_PROPERTY
The name of the property for the approve button text.
- Field Value:
- "ApproveButtonTextChangedProperty"
- See Also:
setApproveButtonText(String)
public static final String APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY
The name of the property for the approve button tool tip text.
- Field Value:
- "ApproveButtonToolTipTextChangedProperty"
- See Also:
setApproveButtonToolTipText(String)
public static final int APPROVE_OPTION
A return value indicating the file chooser has been closed by approving the selection.
- Field Value:
- 0
public static final String APPROVE_SELECTION
Action command string for approving the current selection.
- Field Value:
- "ApproveSelection"
- See Also:
cancelSelection()
public static final int CANCEL_OPTION
A return value indicating the file chooser has been closed by cancelling.
- Field Value:
- 1
public static final String CANCEL_SELECTION
Action command string for cancelling the current selection.
- Field Value:
- "CancelSelection"
- See Also:
cancelSelection()
public static final String CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY
The name of the 'choosable file filters' property.
- Field Value:
- "ChoosableFileFilterChangedProperty"
- See Also:
addChoosableFileFilter(FileFilter)
public static final String CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY
The name of the property for control button visibility.
- Field Value:
- "ControlButtonsAreShownChangedProperty"
- See Also:
setControlButtonsAreShown(boolean)
public static final int CUSTOM_DIALOG
A dialog type for some custom purpose.
- Field Value:
- 2
- See Also:
setDialogType(int)
public static final String DIALOG_TITLE_CHANGED_PROPERTY
The name of the 'dialog title' property.
- Field Value:
- "DialogTitleChangedProperty"
- See Also:
setDialogTitle(String)
public static final String DIALOG_TYPE_CHANGED_PROPERTY
The name of the 'dialog type' property.
- Field Value:
- "DialogTypeChangedProperty"
- See Also:
setDialogType(int)
public static final int DIRECTORIES_ONLY
A selection mode constant indicating acceptance of directories only.
- Field Value:
- 1
- See Also:
setFileSelectionMode(int)
public static final String DIRECTORY_CHANGED_PROPERTY
The name of the property for the current directory.
- Field Value:
- "directoryChanged"
- See Also:
setCurrentDirectory(File)
public static final int ERROR_OPTION
A return value indicating the file chooser has been closed by some error.
- Field Value:
- -1
public static final int FILES_AND_DIRECTORIES
A selection mode constant indicating acceptance of files and directories.
- Field Value:
- 2
- See Also:
setFileSelectionMode(int)
public static final int FILES_ONLY
A selection mode constant indicating acceptance of files only.
- Field Value:
- 0
- See Also:
setFileSelectionMode(int)
public static final String FILE_FILTER_CHANGED_PROPERTY
The name of the 'file filter' property.
- Field Value:
- "fileFilterChanged"
- See Also:
setFileFilter(FileFilter)
public static final String FILE_HIDING_CHANGED_PROPERTY
The name of the 'file hiding enabled' property.
- Field Value:
- "FileHidingChanged"
- See Also:
setFileHidingEnabled(boolean)
public static final String FILE_SELECTION_MODE_CHANGED_PROPERTY
The name of the 'file selection mode' property.
- Field Value:
- "fileSelectionChanged"
- See Also:
setFileSelectionMode(int)
public static final String FILE_SYSTEM_VIEW_CHANGED_PROPERTY
The name of the 'file system view' property.
- Field Value:
- "FileSystemViewChanged"
- See Also:
setFileSystemView(FileSystemView)
public static final String FILE_VIEW_CHANGED_PROPERTY
The name of the 'file view' property.
- Field Value:
- "fileViewChanged"
- See Also:
setFileView(FileView)
public static final String MULTI_SELECTION_ENABLED_CHANGED_PROPERTY
The name of the property for multi-selection.
- Field Value:
- "MultiSelectionEnabledChangedProperty"
- See Also:
setMultiSelectionEnabled(boolean)
public static final int OPEN_DIALOG
A dialog type for selecting a file to open.
- Field Value:
- 0
- See Also:
setDialogType(int)
public static final int SAVE_DIALOG
A dialog type for selecting a file to save.
- Field Value:
- 1
- See Also:
setDialogType(int)
public static final String SELECTED_FILES_CHANGED_PROPERTY
The name of the property for the selected files.
- Field Value:
- "SelectedFilesChangedProperty"
- See Also:
setSelectedFiles(File[])
public static final String SELECTED_FILE_CHANGED_PROPERTY
The name of the property for the selected file.
- Field Value:
- "SelectedFileChangedProperty"
- See Also:
setSelectedFile(File)
protected AccessibleContext accessibleContext
The accessible context.
- See Also:
getAccessibleContext()
public JFileChooser(File currentDirectory)
Creates a newJFileChooser
object.
- Parameters:
currentDirectory
- the directory that should initially be shown in the filechooser (ifnull
, the user's home directory is used).
public JFileChooser(File currentDirectory, FileSystemView fsv)
Creates a newJFileChooser
object.
- Parameters:
currentDirectory
- the directory that should initially be shown in the filechooser (ifnull
, the user's home directory is used).fsv
- the file system view (ifnull
, the default file system view is used).
public JFileChooser(String currentDirectoryPath)
Creates a newJFileChooser
object.
- Parameters:
currentDirectoryPath
- the directory that should initially be shown in the filechooser (ifnull
, the user's home directory is used).
public JFileChooser(String currentDirectoryPath, FileSystemView fsv)
Creates a newJFileChooser
object with the specified directory andFileSystemView
.
- Parameters:
currentDirectoryPath
- the directory that should initially be shown in the filechooser (ifnull
, the user's home directory is used).fsv
- the file system view (ifnull
, the default file system view is used).
public JFileChooser(FileSystemView fsv)
Creates a newJFileChooser
object.
- Parameters:
fsv
- the file system view (ifnull
, the default file system view is used).
public boolean accept(File f)
Returnstrue
if the file is accepted by the current file filter.
- Parameters:
f
- the file.
- Returns:
- A boolean.
public void addActionListener(ActionListener l)
Adds anActionListener
to the file chooser.
- Parameters:
l
- the listener.
public void addChoosableFileFilter(FileFilter filter)
Adds a file filter to the list of available filters and sends aPropertyChangeEvent
(with the property nameCHOOSABLE_FILE_FILTER_CHANGED_PROPERTY
) to all registered listeners.
- Parameters:
filter
- the filter (null
permitted).
public void approveSelection()
Approves the selection. AnActionEvent
is sent to all registered listeners.
public void cancelSelection()
Cancels the selection. AnActionEvent
is sent to all registered listeners.
public void changeToParentDirectory()
Called by the UI delegate when the parent directory is changed.
protected JDialog createDialog(Component parent) throws HeadlessException
Creates a modal dialog in which to display the file chooser.
- Parameters:
parent
- the parent component.
- Returns:
- The dialog.
- Throws:
HeadlessException
- DOCUMENT ME!
public void ensureFileIsVisible(File f)
Ensures the the specified file is visible (this is handled by the UI delegate).
- Parameters:
f
- the file.
protected void fireActionPerformed(String command)
Sends an @link {ActionEvent} to all registered listeners.
- Parameters:
command
- the action command.
public FileFilter getAcceptAllFileFilter()
Returns the 'accept all' file filter from the UI delegate.
- Returns:
- The 'accept all' file filter.
public AccessibleContext getAccessibleContext()
Returns the object that provides accessibility features for thisJFileChooser
component.
- Specified by:
- getAccessibleContext in interface Accessible
- Overrides:
- getAccessibleContext in interface JComponent
- Returns:
- The accessible context (an instance of
JFileChooser.AccessibleJFileChooser
).
public JComponent getAccessory()
Returns the accessory component for the file chooser. The default value isnull
.
- Returns:
- The accessory component (possibly
null
).
- See Also:
setAccessory(JComponent)
public ActionListener[] getActionListeners()
Returns the action listeners registered with this file chooser.
- Returns:
- An array of listeners.
public int getApproveButtonMnemonic()
Returns the approve button mnemonic, or zero if no mnemonic has been set.
- Returns:
- The approve button mnemonic.
- See Also:
setApproveButtonMnemonic(int)
public String getApproveButtonText()
Returns the approve button text.
- Returns:
- The approve button text (possibly
null
).
- See Also:
setApproveButtonText(String)
public String getApproveButtonToolTipText()
Returns the tool tip text for the approve button.
- Returns:
- The tool tip text for the approve button.
- See Also:
setApproveButtonToolTipText(String)
public FileFilter[] getChoosableFileFilters()
Returns the available file filters for this file chooser.
- Returns:
- The available file filters.
public boolean getControlButtonsAreShown()
Returns the flag that controls whether or not the control buttons are shown on the file chooser.
- Returns:
- A boolean.
- See Also:
setControlButtonsAreShown(boolean)
public File getCurrentDirectory()
Returns the current directory.
- Returns:
- The current directory.
public String getDescription(File f)
Returns the description of the file, generated by the current (or default)FileView
.
- Parameters:
f
- the file.
- Returns:
- The file description.
public String getDialogTitle()
Returns the dialog title.
- Returns:
- The dialog title (possibly
null
).
- See Also:
setDialogTitle(String)
public int getDialogType()
Returns the type of file chooser.
- Returns:
OPEN_DIALOG
,SAVE_DIALOG
orCUSTOM_DIALOG
.
- See Also:
setDialogType(int)
public boolean getDragEnabled()
Returns true if dragging is enabled.
- Returns:
- true if dragging is enabled.
public FileFilter getFileFilter()
Returns the file filter.
- Returns:
- The file filter.
- See Also:
setFileFilter(FileFilter)
public int getFileSelectionMode()
Returns the file selection mode, one of:FILES_ONLY
,DIRECTORIES_ONLY
orFILES_AND_DIRECTORIES
. The default isFILES_ONLY
.
- Returns:
- The file selection mode.
- See Also:
setFileSelectionMode(int)
public FileSystemView getFileSystemView()
Returns the file system view being used by this file chooser.
- Returns:
- The file system view.
- See Also:
setFileSystemView(FileSystemView)
public FileView getFileView()
Returns the customFileView
for the file chooser.
- Returns:
- The file view (possibly
null
).
public Icon getIcon(File f)
Returns the icon provided by the current (or default)FileView
.
- Parameters:
f
- the file.
- Returns:
- An icon representing the file.
public String getName(File f)
Returns the name of the file, generated by the current (or default)FileView
.
- Parameters:
f
- the file.
- Returns:
- The file name.
public File getSelectedFile()
Returns the selected file, if there is one.
- Returns:
- The selected file (possibly
null
).
- See Also:
setSelectedFile(File)
public File[] getSelectedFiles()
Returns the selected file or files in an array. If no files are selected, an empty array is returned.
- Returns:
- An array of the selected files (possibly empty).
public String getTypeDescription(File f)
Returns the type description for the file, generated by the current (or default)FileView
.
- Parameters:
f
- the file.
- Returns:
- The file type description.
public FileChooserUI getUI()
Returns the UI delegate for the component.
- Returns:
- The UI delegate.
public String getUIClassID()
Returns the UI delegate class identifier.
- Overrides:
- getUIClassID in interface JComponent
- Returns:
FileChooserUI
.
public boolean isAcceptAllFileFilterUsed()
Returns the flag that controls whether or not the 'accept all' file filter is included in the list of filters.
- Returns:
- A boolean.
- See Also:
setAcceptAllFileFilterUsed(boolean)
public boolean isDirectorySelectionEnabled()
Returnstrue
if directory selection is enabled, andfalse
otherwise. Directory selection is enabled when the file selection mode isDIRECTORIES_ONLY
orFILES_AND_DIRECTORIES
.
- Returns:
true
if file selection is enabled.
- See Also:
getFileSelectionMode()
public boolean isFileHidingEnabled()
Returnstrue
if hidden files are to be hidden, andfalse
otherwise.
- Returns:
- A boolean.
- See Also:
setFileHidingEnabled(boolean)
public boolean isFileSelectionEnabled()
Returnstrue
if file selection is enabled, andfalse
otherwise. File selection is enabled when the file selection mode isFILES_ONLY
orFILES_AND_DIRECTORIES
.
- Returns:
true
if file selection is enabled.
- See Also:
getFileSelectionMode()
public boolean isMultiSelectionEnabled()
Returnstrue
if multiple selections are allowed within this file chooser, andfalse
otherwise.
- Returns:
- A boolean.
- See Also:
setMultiSelectionEnabled(boolean)
public boolean isTraversable(File f)
Returnstrue
if the file is traversable, andfalse
otherwise.
- Parameters:
f
- the file or directory.
- Returns:
- A boolean.
protected String paramString()
Returns a string describing the attributes for theJFileChooser
component, for use in debugging. The return value is guaranteed to be non-null
, but the format of the string may vary between implementations.
- Overrides:
- paramString in interface JComponent
- Returns:
- A string describing the attributes of the
JFileChooser
.
public void removeActionListener(ActionListener l)
Removes anActionListener
from this file chooser.
- Parameters:
l
- the listener.
public boolean removeChoosableFileFilter(FileFilter f)
Removes a file filter from the list of available filters and sends aPropertyChangeEvent
(with the property nameCHOOSABLE_FILE_FILTER_CHANGED_PROPERTY
) to all registered listeners.
- Parameters:
f
- the file filter.
- Returns:
true
if the filter was removed andfalse
otherwise.
public void rescanCurrentDirectory()
Rescans the current directory (this is handled by the UI delegate).
public void resetChoosableFileFilters()
Clears the list of choosable file filters and installs the 'accept all' filter from the UI delegate.
public void setAcceptAllFileFilterUsed(boolean b)
Sets the flag that controls whether or not the 'accept all' file filter is included in the list of filters, and sends aPropertyChangeEvent
(with the property nameACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY
) to all registered listeners.
- Parameters:
b
- the new value of the flag.
public void setAccessory(JComponent newAccessory)
Sets the accessory component for the file chooser and sends aPropertyChangeEvent
to all registered listeners. The property name isACCESSORY_CHANGED_PROPERTY
.
- Parameters:
newAccessory
- the accessory component.
public void setApproveButtonMnemonic(char mnemonic)
Sets the mnemonic for the approve button and sends aPropertyChangeEvent
(with the property nameAPPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY
) to all registered listeners.
- Parameters:
mnemonic
- the mnemonic.
- See Also:
setApproveButtonMnemonic(int)
public void setApproveButtonMnemonic(int mnemonic)
Sets the mnemonic for the approve button and sends aPropertyChangeEvent
(with the property nameAPPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY
) to all registered listeners.
- Parameters:
mnemonic
- the mnemonic.
- See Also:
setApproveButtonMnemonic(char)
public void setApproveButtonText(String approveButtonText)
Sets the approve button text and fires aPropertyChangeEvent
(with the property nameAPPROVE_BUTTON_TEXT_CHANGED_PROPERTY
) to all registered listeners.
- Parameters:
approveButtonText
- the text (null
permitted).
- See Also:
getApproveButtonText()
public void setApproveButtonToolTipText(String toolTipText)
Sets the tool tip text for the approve button and sends aPropertyChangeEvent
(with the property nameAPPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY
) to all registered listeners.
- Parameters:
toolTipText
- the text.
public void setControlButtonsAreShown(boolean b)
Sets the flag that controls whether or not the control buttons are shown and, if it changes, sends aPropertyChangeEvent
(with the property nameCONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY
) to all registered listeners.
- Parameters:
b
- the new value for the flag.
public void setCurrentDirectory(File dir)
Sets the current directory and fires aPropertyChangeEvent
(with the property nameDIRECTORY_CHANGED_PROPERTY
) to all registered listeners. Ifdir
isnull
, the current directory is set to the default directory returned by the file system view.
- Parameters:
dir
- the new directory (null
permitted).
- See Also:
FileSystemView.getDefaultDirectory()
public void setDialogTitle(String dialogTitle)
Sets the dialog title and sends aPropertyChangeEvent
(with the property nameDIALOG_TITLE_CHANGED_PROPERTY
) to all registered listeners.
- Parameters:
dialogTitle
- the dialog title (null
permitted).
- See Also:
getDialogTitle()
public void setDialogType(int dialogType)
Sets the dialog type and fires aPropertyChangeEvent
(with the property nameDIALOG_TYPE_CHANGED_PROPERTY
) to all registered listeners.
- Parameters:
dialogType
- the dialog type (one of:OPEN_DIALOG
,SAVE_DIALOG
,CUSTOM_DIALOG
).
- Throws:
IllegalArgumentException
- ifdialogType
is not valid.
public void setDragEnabled(boolean b)
Sets the dragEnabled property, this disables/enables automatic drag handling (drag and drop) on this component. The default value of the dragEnabled property is false. Some look and feels might not support automatic drag and drop; they will ignore this property.
- Parameters:
b
- - the new dragEnabled value
public void setFileFilter(FileFilter filter)
Sets the file filter and sends aPropertyChangeEvent
(with the property nameFILE_FILTER_CHANGED_PROPERTY
) to all registered listeners.
- Parameters:
filter
- the filter (null
permitted).
public void setFileHidingEnabled(boolean b)
Sets the flag that controls whether or not hidden files are displayed, and sends aPropertyChangeEvent
(with the property nameFILE_HIDING_CHANGED_PROPERTY
) to all registered listeners.
- Parameters:
b
- the new value of the flag.
public void setFileSelectionMode(int mode)
Sets the file selection mode and sends aPropertyChangeEvent
to all registered listeners. The property name isFILE_SELECTION_MODE_CHANGED_PROPERTY
.
- Parameters:
mode
- the mode (FILES_ONLY
,DIRECTORIES_ONLY
orFILES_AND_DIRECTORIES
).
- Throws:
IllegalArgumentException
- if the mode is invalid.
public void setFileSystemView(FileSystemView fsv)
Sets the file system view for the file chooser and sends aPropertyChangeEvent
to all registered listeners.
- Parameters:
fsv
- the file system view.
public void setFileView(FileView fileView)
Sets a customFileView
for the file chooser and sends aPropertyChangeEvent
to all registered listeners. The property name isFILE_VIEW_CHANGED_PROPERTY
.
- Parameters:
fileView
- the file view (null
permitted).
- See Also:
getFileView()
public void setMultiSelectionEnabled(boolean b)
Sets the flag that controls whether multiple selections are allowed in this filechooser and sends aPropertyChangeEvent
(with the property nameMULTI_SELECTION_ENABLED_CHANGED_PROPERTY
) to all registered listeners.
- Parameters:
b
- the new value of the flag.
public void setSelectedFile(File file)
Sets the selected file and sends aPropertyChangeEvent
to all registered listeners. The property name isSELECTED_FILE_CHANGED_PROPERTY
.
- Parameters:
file
- the file (null
permitted).
public void setSelectedFiles(File[] selectedFiles)
Sets the selected files and sends aPropertyChangeEvent
(with the nameSELECTED_FILES_CHANGED_PROPERTY
) to all registered listeners.
- Parameters:
selectedFiles
- the selected files (null
permitted).
protected void setup(FileSystemView view)
Sets up the file chooser. This method is called by all the constructors.
- Parameters:
view
- the file system view (ifnull
, the default file system view is used).
- See Also:
FileSystemView.getFileSystemView()
public int showDialog(Component parent, String approveButtonText) throws HeadlessException
Displays the file chooser in a modal dialog using theCUSTOM_DIALOG
type.
- Parameters:
parent
- the parent component.
- Returns:
- A return value indicating how the dialog was closed (one of
APPROVE_OPTION
,CANCEL_OPTION
andERROR_OPTION
).
- Throws:
HeadlessException
- DOCUMENT ME!
public int showOpenDialog(Component parent) throws HeadlessException
Displays the file chooser in a modal dialog using theOPEN_DIALOG
type.
- Parameters:
parent
- the parent component.
- Returns:
- A return value indicating how the dialog was closed (one of
APPROVE_OPTION
,CANCEL_OPTION
andERROR_OPTION
).
- Throws:
HeadlessException
- DOCUMENT ME!
public int showSaveDialog(Component parent) throws HeadlessException
Displays the file chooser in a modal dialog using theSAVE_DIALOG
type.
- Parameters:
parent
- the parent component.
- Returns:
- A return value indicating how the dialog was closed (one of
APPROVE_OPTION
,CANCEL_OPTION
andERROR_OPTION
).
- Throws:
HeadlessException
- DOCUMENT ME!
public void updateUI()
Installs the UI delegate for the current look and feel.
- Overrides:
- updateUI in interface JComponent