diff options
author | Nao Pross <naopross@thearcway.org> | 2018-11-20 14:12:45 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-11-20 14:14:33 +0100 |
commit | 9d46cef9b9715f7937b3d31a20497de6900027f1 (patch) | |
tree | 0b793395f80b84ad12f99368f917f76e2fb21443 /src/subconscious/graphics/GameWindow.java | |
parent | Separate MapLoader constructors (diff) | |
download | Subconscious-java-9d46cef9b9715f7937b3d31a20497de6900027f1.tar.gz Subconscious-java-9d46cef9b9715f7937b3d31a20497de6900027f1.zip |
Suppress serialVersionUID warning
Diffstat (limited to 'src/subconscious/graphics/GameWindow.java')
-rw-r--r-- | src/subconscious/graphics/GameWindow.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/subconscious/graphics/GameWindow.java b/src/subconscious/graphics/GameWindow.java index 4d2f91c..f7459fd 100644 --- a/src/subconscious/graphics/GameWindow.java +++ b/src/subconscious/graphics/GameWindow.java @@ -12,7 +12,7 @@ import javax.swing.JButton; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; - +@SuppressWarnings("serial") public class GameWindow extends JFrame implements ActionListener { public static final Dimension WINDOW_SIZE = new Dimension(600, 400); @@ -107,6 +107,7 @@ public class GameWindow extends JFrame implements ActionListener { ((CardLayout)this.root.getLayout()).show(this, MENU_CARD); } + // Action Listener for menu @Override public void actionPerformed(ActionEvent e) { if (e.getActionCommand().startsWith("btn")) { |