private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
        //Checks all the variables if they equal the answer variables 
        if (tbool1 == tabool1 && tbool2 == tabool2 && tbool3 == tabool3 && tbool4 == tabool4 && tbool5 == tabool5 && tbool6 == tabool6 && tbool7 == tabool7 && tbool8 == tabool8) {
            //opens a new window and closes this one
            Win win = new Win();
            win.setVisible(true);
            dispose();
        }
    }//GEN-LAST:event_jButton3ActionPerformed