コード例 #1
0
  private void jButton1ActionPerformed(
      java.awt.event.ActionEvent evt) { // GEN-FIRST:event_jButton1ActionPerformed
    // TODO add your handling code here: ADD

    AddUserAccountJPanel auajp = new AddUserAccountJPanel(business);
    CardLayoutUtil.getCardLayoutJPanel().addAndMoveToNextJPanel("NewUserAccountJPanel", auajp);
  } // GEN-LAST:event_jButton1ActionPerformed
コード例 #2
0
 private void jButton5ActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_jButton5ActionPerformed
   // TODO add your handling code here: VIEW DETAILS
   int rr = useraccountTable.getSelectionModel().getLeadSelectionIndex();
   if (rr < 0 || rr >= useraccountTable.getRowCount()) {
     return;
   } else {
     ViewUserAccountDetailJPanel vuadjp =
         new ViewUserAccountDetailJPanel(selectuseraccount, business);
     CardLayoutUtil.getCardLayoutJPanel()
         .addAndMoveToNextJPanel("ViewUserAccountDetailJPanel", vuadjp);
   }
 } // GEN-LAST:event_jButton5ActionPerformed
コード例 #3
0
 private void jButton12ActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_jButton12ActionPerformed
   // TODO add your handling code here: BACK BUTTON
   CardLayoutUtil.getCardLayoutJPanel().removeAndMoveToPreviousJPanel(this);
 } // GEN-LAST:event_jButton12ActionPerformed