summaryrefslogtreecommitdiff
path: root/src/client/MainWindow.java
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2016-03-27 14:40:42 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2016-03-27 14:40:42 +0200
commit5d8eafe9e8c36c86f9b4c33f32305866dd898f3e (patch)
tree495158ddee0c0eb2ce33111e37ae2a449c24305d /src/client/MainWindow.java
parent25b636c0afd61245765b521dd03255f0ecd4ef8f (diff)
Add state class
Diffstat (limited to 'src/client/MainWindow.java')
-rw-r--r--src/client/MainWindow.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/client/MainWindow.java b/src/client/MainWindow.java
new file mode 100644
index 0000000..b6020d2
--- /dev/null
+++ b/src/client/MainWindow.java
@@ -0,0 +1,22 @@
+package org.manzerbredes.client;
+
+import java.awt.EventQueue;
+import javax.swing.JFrame;
+
+public class MainWindow extends JFrame {
+
+
+
+ public MainWindow(){
+ this.initUI();
+ this.setVisible(true);
+ }
+
+ private void initUI(){
+ this.setTitle("Open KLM");
+ this.setSize(700, 500);
+ setLocationRelativeTo(null);
+ setDefaultCloseOperation(EXIT_ON_CLOSE);
+ }
+
+} \ No newline at end of file