Skip to content

Commit 4a6b3a8

Browse files
committed
debug: frame book management
1 parent d176434 commit 4a6b3a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Library/FrmBooksManagement.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
249249
ArrayList<Book> books = FrmBooksManagement.this.library
250250
.showBookList_all();
251251
int nBook = books.size();
252-
for (int i = 0; i < nBook; i++) {
252+
int o_size = library.showBookList_overdue().size();
253+
for (int i = 0; i < o_size; i++) {
253254
// if(books.get(i).isRented()){continue;}
254255
dtm.addRow(createBookTableRowData(library.showBookList_overdue().get(i)));
255256
}

0 commit comments

Comments
 (0)