Implemented Logging
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -195,6 +195,7 @@ public class FilePicker extends JFrame {
|
||||
throw new RuntimeException(ex);
|
||||
}
|
||||
DisplayerManager.displayStudents();
|
||||
|
||||
this.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user