public void actionPerformed(final ActionEvent e){
  Object o=e.getSource();
  if (o == tsUseAdaptation) {
    checkUsingAdaptation();
  }
}

public void actionPerformed ( final ActionEvent e ) { Object o = e . getSource ( ) ; if ( o == tsUseAdaptation ) { checkUsingAdaptation ( ) ; } }
responds to actions performed .
