private static void refreshLists(){
  oneBestList.removeAll();
  DefaultListModel oneBestListModel=(DefaultListModel)oneBestList.getModel();
  for (  TranslationInfo ti : translations) {
    oneBestListModel.addElement(ti.reference());
  }
}

private static void refreshLists ( ) { oneBestList . removeAll ( ) ; DefaultListModel oneBestListModel = ( DefaultListModel ) oneBestList . getModel ( ) ; for ( TranslationInfo ti : translations ) { oneBestListModel . addElement ( ti . reference ( ) ) ; } }
removes and re - adds the appropriate values to the reference and one - best lists .
