1
0
Fork 0

removed sout

This commit is contained in:
Tergel TSAGAAN 2021-01-04 21:58:22 +01:00
parent 44482bae78
commit 1b25c747b1
3 changed files with 1 additions and 2 deletions

View file

@ -58,7 +58,6 @@ public class Agenda extends JPanel {
return true; return true;
} }
}; };
System.out.println(table.getRowHeight());
table.setCellSelectionEnabled(true); table.setCellSelectionEnabled(true);
table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);

View file

@ -46,7 +46,6 @@ public class GUI extends JFrame implements ActionListener {
this.renderMenu(); this.renderMenu();
new Agenda(agendaPanel, headers, 8, this.currentPage); new Agenda(agendaPanel, headers, 8, this.currentPage);
System.out.println("agenda");
previousButton.addActionListener(this); previousButton.addActionListener(this);
nextButton.addActionListener(this); nextButton.addActionListener(this);
HCButton.addActionListener(this); HCButton.addActionListener(this);

View file

@ -35,6 +35,7 @@ public class ProjectionHandler extends JDialog {
dispose(); dispose();
} }
}); });
setLocationRelativeTo(null);
} }
private void handleDialogName() { private void handleDialogName() {