Hi! I have a huge problem with my PERT program. I've been trying to figure out how to display all of the data in jTable with one click and how to delete all them as well, like if I click on "reset" or "clear". What I've done is just the design of the table with 5 textfields. Can anyone help me?

Can you post your code that shows the problem?

This is the part that I've been having problems with.... under computeBtnActionPerformed and resetBtnActionPerformed... I know how to get the texts from the textfield but I don't know how to display everything on the table. :(

private void computeBtnActionPerformed(java.awt.event.ActionEvent evt) {
        // TODO add your handling code here:
    }

    private void resetBtnActionPerformed(java.awt.event.ActionEvent evt) {
        txtA.setText(null);                                                                                                                                                 // Clearing the content of the table and textfields.
        txtM.setText(null);
        txtB.setText(null);
        txtAct.setText(null);
        txtPred.setText(null);


    }

    private void computeBtnItemStateChanged(java.awt.event.ItemEvent evt) {
          // TODO add your handling code here:
    }

    private void computeBtnMouseClicked(java.awt.event.MouseEvent evt) {
          // TODO add your handling code here:
          }