/**
  * This method initializes steTimeClosing
  *
  * @return ui.SimTimeEdit
  * @uml.property name="steTimeClosing"
  */
 private SimTimeEdit getSteTimeClosing() {
   if (steTimeClosing == null) {
     steTimeClosing = new SimTimeEdit();
     steTimeClosing.setPreferredSize(new Dimension(166, 45));
     steTimeClosing.addChangeListener(
         new javax.swing.event.ChangeListener() {
           public void stateChanged(javax.swing.event.ChangeEvent e) {
             currentSchool.setTimeClosing(steTimeClosing.getValue());
           }
         });
   }
   return steTimeClosing;
 }
  public void setSchool(School school) {
    currentSchool = school;

    txtName.setText(currentSchool.getName());
    steTimeOpening.setValue(currentSchool.getTimeOpening());
    steTimeClosing.setValue(currentSchool.getTimeClosing());

    cmbType.setSelectedItem(currentSchool.getSchoolType());

    spnCapacity.setValue(currentSchool.getCapacity());

    chkExportPolygon.setSelected(currentSchool.getExportPolygon());
    chkEnabled.setSelected(currentSchool.isEnabled());
  }