public void updateGUI(RosterEntry r){
  roadName.setText(r.getRoadName());
  roadNumber.setText(r.getRoadNumber());
  mfg.setText(r.getMfg());
  owner.setText(r.getOwner());
  model.setText(r.getModel());
  comment.setText(r.getComment());
  decoderModel.setText(r.getDecoderModel());
  decoderFamily.setText(r.getDecoderFamily());
  decoderComment.setText(r.getDecoderComment());
  dateUpdated.setText(r.getDateUpdated());
  maxSpeedSpinner.setValue(Integer.valueOf(r.getMaxSpeedPCT()));
}

public void updateGUI ( RosterEntry r ) { roadName . setText ( r . getRoadName ( ) ) ; roadNumber . setText ( r . getRoadNumber ( ) ) ; mfg . setText ( r . getMfg ( ) ) ; owner . setText ( r . getOwner ( ) ) ; model . setText ( r . getModel ( ) ) ; comment . setText ( r . getComment ( ) ) ; decoderModel . setText ( r . getDecoderModel ( ) ) ; decoderFamily . setText ( r . getDecoderFamily ( ) ) ; decoderComment . setText ( r . getDecoderComment ( ) ) ; dateUpdated . setText ( r . getDateUpdated ( ) ) ; maxSpeedSpinner . setValue ( Integer . valueOf ( r . getMaxSpeedPCT ( ) ) ) ; }
file gui from roster contents
