Skip to content

Commit

Permalink
Give credit for inspiration
Browse files Browse the repository at this point in the history
  • Loading branch information
leepoeaik committed Apr 15, 2024
1 parent 1fb91dd commit c0cebff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/seedu/address/ui/StudentListPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public StudentListPanel(MainWindow mainWindow, ObservableList<Student> studentLi
this.mainWindow = mainWindow;
studentListView.setItems(studentList);
studentListView.setCellFactory(listView -> {
//Solution below inspired by group AY2023/24-T16-1
StudentListViewCell studentCells = new StudentListViewCell();
studentCells.setOnMouseClicked(mouseEvent -> {
StudentListViewCell clicked = (StudentListViewCell) mouseEvent.getSource();
Expand Down

0 comments on commit c0cebff

Please sign in to comment.