예제 #1
0
 private void BcancelMouseClicked(
     java.awt.event.MouseEvent evt) { // GEN-FIRST:event_BcancelMouseClicked
   this.dispose();
   FormData fdata = new FormData();
   fdata.setTitle(Tusername.getText());
   fdata.setLocationRelativeTo(null);
   fdata.setVisible(true);
 } // GEN-LAST:event_BcancelMouseClicked
 @Override
 public FormData getFormData() {
   FormData data = new FormData(function);
   data.setAddress(inputAddress.getValue());
   data.setEmployeeNum(inputEmployeeNum.getValue());
   data.setName(inputName.getValue());
   data.setPassword1(inputPassword1.getValue());
   data.setPassword2(inputPassword2.getValue());
   data.setPhoneNumber(inputPhoneNumber.getValue());
   data.setRole((String) selectRole.getValue());
   data.setSika(inputSika.getValue());
   data.setTitle(inputTitle.getValue());
   data.setUserName(inputUserName.getValue());
   data.setEditMode(editMode);
   return data;
 }