question: private void rosterItemSelectAction ( ActionEvent e ) { if ( rosterSelector . getSelectedRosterEntries ( ) . length != 0 ) { log . debug ( "Roster Entry selected..." ) ; setRosterEntry ( rosterSelector . getSelectedRosterEntries ( ) [ 0 ] ) ; enableProfileStuff ( true ) ; if ( ( profileComboBox . getSelectedIndex ( ) == - 1 ) || ( profileComboBox . getSelectedItem ( ) instanceof NullProfileBoxItem ) ) { closeButton . setEnabled ( false ) ; } } }
target:  rosterItemSelectAction() ActionEventListener function for rosterSelector Chooses a RosterEntry from the list and loads its relevant info.