diff --git a/.idea/hellsgamers.iml b/.idea/hellsgamers.iml index 1c67be8..db49080 100644 --- a/.idea/hellsgamers.iml +++ b/.idea/hellsgamers.iml @@ -7,8 +7,6 @@ - - diff --git a/src/main/java/MenuFrame.java b/src/main/java/MenuFrame.java index 049bc7a..660b68e 100644 --- a/src/main/java/MenuFrame.java +++ b/src/main/java/MenuFrame.java @@ -1,2 +1,12 @@ -public class MenuFrame { +import javax.swing.*; + +public class MenuFrame extends JFrame { + + MenuPanel panel; + + public MenuFrame() { + panel = new MenuPanel(); + this.add(panel); + this.setTitle("Main Menu for Ping-Pong"); + this.setResizable(false); } diff --git a/src/main/java/MenuPanel.java b/src/main/java/MenuPanel.java new file mode 100644 index 0000000..0fa2ec8 --- /dev/null +++ b/src/main/java/MenuPanel.java @@ -0,0 +1,2 @@ +public class MenuPanel { +}