diff --git a/src/main/java/GUI/Agenda.java b/src/main/java/GUI/Agenda.java index 6dc86ff..31091e6 100644 --- a/src/main/java/GUI/Agenda.java +++ b/src/main/java/GUI/Agenda.java @@ -58,7 +58,6 @@ public class Agenda extends JPanel { return true; } }; - System.out.println(table.getRowHeight()); table.setCellSelectionEnabled(true); table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); diff --git a/src/main/java/GUI/GUI.java b/src/main/java/GUI/GUI.java index 2640c7d..b8b0877 100644 --- a/src/main/java/GUI/GUI.java +++ b/src/main/java/GUI/GUI.java @@ -46,7 +46,6 @@ public class GUI extends JFrame implements ActionListener { this.renderMenu(); new Agenda(agendaPanel, headers, 8, this.currentPage); - System.out.println("agenda"); previousButton.addActionListener(this); nextButton.addActionListener(this); HCButton.addActionListener(this); diff --git a/src/main/java/GUI/ProjectionHandler.java b/src/main/java/GUI/ProjectionHandler.java index 8d83116..3d23f5a 100644 --- a/src/main/java/GUI/ProjectionHandler.java +++ b/src/main/java/GUI/ProjectionHandler.java @@ -35,6 +35,7 @@ public class ProjectionHandler extends JDialog { dispose(); } }); + setLocationRelativeTo(null); } private void handleDialogName() {