diff options
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(); + } +} |