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