Skip to content
Snippets Groups Projects
Commit 4dd13b01 authored by Ahmed Loui Al Koasmh's avatar Ahmed Loui Al Koasmh
Browse files

Made score display not resizeable

parent 20f4e386
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,7 @@ public class ScoreDisplay extends JFrame {
*/
public ScoreDisplay() {
JPanel panel = new JPanel(new GridBagLayout());
setResizable(false);
panel.setSize(900, 600);
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
this.setTitle("Snake Revamped");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment