private void btnRentActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnRentActionPerformed
        // TODO add your handling code here:
        Student = txtStudent.getText();
        BookName = txtBookName.getText();
        BookCategory = txtCategory.getText();
        
        Rent r = new Rent();
        r.setStudent(Student);
        r.setBookName(BookName);
        r.setBookCategory(BookCategory);
        
        aList.add(r);
        
        count++;

    }//GEN-LAST:event_btnRentActionPerformed