question: protected void openButton ( ) { if ( locoBox . getSelectedRosterEntries ( ) . length != 0 ) { RosterEntry re = locoBox . getSelectedRosterEntries ( ) [ 0 ] ; startProgrammer ( null , re , ( String ) programmerBox . getSelectedItem ( ) ) ; } else { JOptionPane . showMessageDialog ( this , Bundle . getMessage ( "LocoMustSelected" ) , Bundle . getMessage ( "NoSelection" ) , JOptionPane . ERROR_MESSAGE ) ; } }
target:  handle pushing the open programmer button by finding names, then calling a template method