New Panel for chess statistics
parent
6baea13c56
commit
af8c068fce
|
|
@ -26,6 +26,7 @@ public class Gui {
|
|||
frame.setSize(1600, 1000);
|
||||
frame.setLocationRelativeTo(null);
|
||||
frame.add(chessPanel());
|
||||
frame.add(statsPanel());
|
||||
|
||||
frame.setDefaultCloseOperation(2);
|
||||
frame.setVisible(true);
|
||||
|
|
@ -46,4 +47,10 @@ public class Gui {
|
|||
return chessPanel;
|
||||
}
|
||||
|
||||
public JPanel statsPanel() {
|
||||
JPanel statsPanel = new JPanel();
|
||||
statsPanel.setBackground(new Color(0x0d1b2a));
|
||||
return statsPanel;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue