UIDefaults defaults = UIManager.getLookAndFeelDefaults();
acceptAllFileFilterText = UIManager.getString("FileChooser.acceptAllFileFilterText"); cancelButtonMnemonic = UIManager.getInt("FileChooser.cancelButtonMnemonic"); cancelButtonText = UIManager.getString("FileChooser.cancelButtonText"); cancelButtonToolTipText = UIManager.getString("FileChooser.cancelButtonToolTipText");
  protected void installStrings(JFileChooser fc)  {    UIDefaults defaults = UIManager.getLookAndFeelDefaults();    acceptAllFileFilterText = defaults.getString("FileChooser.acceptAllFileFilterText");    cancelButtonMnemonic = defaults.getInt("FileChooser.cancelButtonMnemonic");    cancelButtonText = defaults.getString("FileChooser.cancelButtonText");    cancelButtonToolTipText = defaults.getString("FileChooser.cancelButtonToolTipText");    dirDescText = defaults.getString("FileChooser.directoryDescriptionText");    fileDescText = defaults.getString("FileChooser.fileDescriptionText");    helpButtonMnemonic = defaults.getInt("FileChooser.helpButtonMnemonic");    helpButtonText = defaults.getString("FileChooser.helpButtonText");    helpButtonToolTipText = defaults.getString("FileChooser.helpButtonToolTipText");    openButtonMnemonic = defaults.getInt("FileChooser.openButtonMnemonic");    openButtonText = defaults.getString("FileChooser.openButtonText");    openButtonToolTipText = defaults.getString("FileChooser.openButtonToolTipText");    saveButtonMnemonic = defaults.getInt("FileChooser.saveButtonMnemonic");    saveButtonText = defaults.getString("FileChooser.saveButtonText");    saveButtonToolTipText = defaults.getString("FileChooser.saveButtonToolTipText");  }