Implemented Logging

This commit is contained in:
2023-10-02 17:45:12 +03:00
parent d85f9a6132
commit 13afebe65b
5 changed files with 73 additions and 2 deletions

View File

@@ -231,6 +231,8 @@ public class StudentManagementGUI extends JFrame {
if (result == JOptionPane.YES_OPTION) {
DataSerializer.serialize(sv);
sv.getLogger().logOperation("Died!");
sv.getLogger().close();
dispose();
}
}

View File

@@ -195,6 +195,7 @@ public class FilePicker extends JFrame {
throw new RuntimeException(ex);
}
DisplayerManager.displayStudents();
this.dispose();
}
}