Generated by
JDiff

Class javax.swing.JFileChooser

Documentation changed from old to new.

Changed Constructors
JFileChooser(File) Documentation changed from old to new.
Constructs a JFileChooser using the given File as the path.
JFileChooser(String) Documentation changed from old to new.
Constructs a JFileChooser using the given path.
JFileChooser(void) Documentation changed from old to new.
Constructs a JFileChooser pointing to the user's default directory.
 

Added Methods
JDialog createDialog(Component) Creates and returns a new JDialog wrapping this centered on the parent in the parent's frame.
ActionListener[] getActionListeners() Returns an array of all the action listeners registered on this file chooser.
boolean getDragEnabled() Gets the value of the dragEnabled property.
void setDragEnabled(boolean) Sets the dragEnabled property which must be true to enable automatic drag handling (the first part of drag and drop) on this component.
 

Changed Methods
void addActionListener(ActionListener) Documentation changed from old to new.
Adds an ActionListener to the file chooser.
void addChoosableFileFilter(FileFilter) Documentation changed from old to new.
Adds a filter to the list of user choosable file filters.
void approveSelection() Documentation changed from old to new.
Called by the UI when the user hits the Approve button (labeled "Open" or "Save" by default).
void cancelSelection() Documentation changed from old to new.
Called by the UI when the user chooses the Cancel button.
void fireActionPerformed(String) Documentation changed from old to new.
Notifies all listeners that have registered interest for notification on this event type.
FileFilter[] getChoosableFileFilters() Documentation changed from old to new.
Gets the list of user choosable file filters.
boolean getControlButtonsAreShown() Documentation changed from old to new.
Returns the value of the controlButtonsAreShown property.
void removeActionListener(ActionListener) Documentation changed from old to new.
Removes an ActionListener from the file chooser.
boolean removeChoosableFileFilter(FileFilter) Documentation changed from old to new.
Removes a filter from the list of user choosable file filters.
void setAcceptAllFileFilterUsed(boolean) Documentation changed from old to new.
Determines whether the AcceptAll FileFilter is used as an available choice in the choosable filter list.
void setControlButtonsAreShown(boolean) Documentation changed from old to new.
Sets the property that indicates whether the approve and cancel buttons are shown in the file chooser.
void setCurrentDirectory(File) Documentation changed from old to new.
Sets the current directory.
int showDialog(Component, String) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Pops a custom file chooser dialog with a custom approve button.
int showOpenDialog(Component) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Pops up an "Open File" file chooser dialog.
int showSaveDialog(Component) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Pops up a "Save File" file chooser dialog.
void updateUI() Documentation changed from old to new.
Resets the UI property to a value from the current look and feel.