Add unfinished gui

This commit is contained in:
2018-01-26 20:34:15 +01:00
parent 0752f0808b
commit fec74bb295
6 changed files with 26 additions and 33 deletions

View File

@ -84,13 +84,4 @@ public class GUI {
Insets insets = frame.getInsets();
frame.setSize(450 + 2 * insets.left, 170 + insets.top + insets.bottom);
}
protected JComponent makeTextPanel(String text) {
JPanel panel = new JPanel(false);
JLabel filler = new JLabel(text);
filler.setHorizontalAlignment(JLabel.CENTER);
panel.setLayout(new GridLayout(1, 1));
panel.add(filler);
return panel;
}
}