protected void openKnownLoco(){
  if (locoBox.getSelectedRosterEntries().length != 0) {
    RosterEntry re=locoBox.getSelectedRosterEntries()[0];
    if (log.isDebugEnabled()) {
      log.debug("loco file: " + re.getFileName());
    }
    startProgrammer(null,re,(String)programmerBox.getSelectedItem());
  }
 else {
    log.error("No roster entry was selected to open.");
  }
}

protected void openKnownLoco ( ) { if ( locoBox . getSelectedRosterEntries ( ) . length != 0 ) { RosterEntry re = locoBox . getSelectedRosterEntries ( ) [ 0 ] ; if ( log . isDebugEnabled ( ) ) { log . debug ( "loco file: " + re . getFileName ( ) ) ; } startProgrammer ( null , re , ( String ) programmerBox . getSelectedItem ( ) ) ; } else { log . error ( "No roster entry was selected to open." ) ; } }
start with a locomotive selected , so we ' re opening an existing rosterentry .
