--- old/src/java.desktop/share/classes/javax/swing/plaf/FileChooserUI.java 2015-04-07 15:49:51.514546013 -0700 +++ new/src/java.desktop/share/classes/javax/swing/plaf/FileChooserUI.java 2015-04-07 15:49:51.358546009 -0700 @@ -38,13 +38,42 @@ public abstract class FileChooserUI extends ComponentUI { + /** + * Returns an accept-all file filter. + * @param fc the file chooser + * @return an accept-all file filter + */ public abstract FileFilter getAcceptAllFileFilter(JFileChooser fc); + /** + * Returns a file view. + * @param fc the file chooser + * @return a file view + */ public abstract FileView getFileView(JFileChooser fc); + /** + * Returns approve button text. + * @param fc the file chooser + * @return approve button text. + */ public abstract String getApproveButtonText(JFileChooser fc); + /** + * Returns the dialog title. + * @param fc the file chooser + * @return the dialog title. + */ public abstract String getDialogTitle(JFileChooser fc); + /** + * Rescan the current directory. + * @param fc the file chooser + */ public abstract void rescanCurrentDirectory(JFileChooser fc); + /** + * Ensure the file in question is visible. + * @param fc the file chooser + * @param f the file + */ public abstract void ensureFileIsVisible(JFileChooser fc, File f); /**