public void setActionListener ( ActionListener listener ) { for ( int i = 0 ; i < this . radioButtons . length ; i ++ ) { this . radioButtons [ i ] . addActionListener ( listener ) ; } }
Sets the ActionListener for the radio buttons .