aboutsummaryrefslogtreecommitdiff
path: root/src/esieequest/ui/rich/Window.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/esieequest/ui/rich/Window.java')
-rw-r--r--src/esieequest/ui/rich/Window.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/esieequest/ui/rich/Window.java b/src/esieequest/ui/rich/Window.java
new file mode 100644
index 0000000..d4b84a4
--- /dev/null
+++ b/src/esieequest/ui/rich/Window.java
@@ -0,0 +1,32 @@
1package esieequest.ui.rich;
2
3import javax.swing.JFrame;
4
5/**
6 * The window view.
7 *
8 * @author Pacien TRAN-GIRARD
9 */
10public class Window extends UserInterface {
11
12 private final JFrame window;
13
14 /**
15 * The default constructor that creates the frame and attaches the main
16 * panel to it.
17 *
18 * @wbp.parser.entryPoint
19 */
20 public Window() {
21 this.window = new JFrame("ESIEEquest");
22 this.window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
23 this.window.setBounds(100, 100, 700, 500);
24 this.window.setContentPane(this.getLayout());
25 }
26
27 @Override
28 public void show() {
29 this.window.setVisible(true);
30 }
31
32}