public void updateLanguage(){
  createLegendPanel(legendPanel);
  directoryTreeModel.changeRootText(I18n.tr("Library Folders"));
}

public void updateLanguage ( ) { createLegendPanel ( legendPanel ) ; directoryTreeModel . changeRootText ( I18n . tr ( "Library Folders" ) ) ; }
resets the text of various components to the current language .
