public void refreshAlgorithm ( ) { Object cookie = algCookies . get ( algBox . getSelectedIndex ( ) ) ; String name = ( String ) algBox . getSelectedItem ( ) ; performSetAlgorithm ( name , cookie ) ; }
Tells it to switch again to the current algorithm . Useful if the input has changed and information needs to be rendered again .