diff options
author | mafaldo <mafaldo@heavyhammer.home> | 2018-02-10 11:14:23 +0100 |
---|---|---|
committer | mafaldo <mafaldo@heavyhammer.home> | 2018-02-10 11:14:23 +0100 |
commit | ffd2ec134c38ec782d7d29c9658ca35cad2b91d9 (patch) | |
tree | 165319f42bd1bea7c5de45935c1405d7e7a1b3ce /src/Subconscious.java | |
download | Subconscious-old-ffd2ec134c38ec782d7d29c9658ca35cad2b91d9.tar.gz Subconscious-old-ffd2ec134c38ec782d7d29c9658ca35cad2b91d9.zip |
First commit
Diffstat (limited to '')
-rw-r--r-- | src/Subconscious.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/Subconscious.java b/src/Subconscious.java new file mode 100644 index 0000000..dc15964 --- /dev/null +++ b/src/Subconscious.java @@ -0,0 +1,24 @@ +import javax.swing.*; +import java.awt.*; + +public class Subconscious { + + public static final Dimension WINDOW_SIZE = new Dimension(400, 400); + + public Subconscious() { + JFrame frame = new JFrame("Subconscious"); + + frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + frame.setSize(WINDOW_SIZE); + frame.setLocationRelativeTo(null); + + MainPanel mainPanel= new MainPanel(); + frame.add(mainPanel); + + frame.setVisible(true); + } + + public static void main(String[] args) { + Subconscious subconscious = new Subconscious(); + } +} |