summaryrefslogtreecommitdiff
path: root/removed-code/Client.java
diff options
context:
space:
mode:
authorguest <guest@f059d3a0-6783-47b7-97ff-1fe0bbf25129>2008-09-23 21:29:27 +0000
committerguest <guest@f059d3a0-6783-47b7-97ff-1fe0bbf25129>2008-09-23 21:29:27 +0000
commitd6fa96b4cd67cf4fa18b5b9b6739f9bc2494a9f4 (patch)
tree00aa9a27acb6b4c8d9868795a5295e9231f1eb20 /removed-code/Client.java
initial import
git-svn-id: http://manut.eu/svn/yalp/trunk@1 f059d3a0-6783-47b7-97ff-1fe0bbf25129
Diffstat (limited to 'removed-code/Client.java')
-rwxr-xr-xremoved-code/Client.java48
1 files changed, 48 insertions, 0 deletions
diff --git a/removed-code/Client.java b/removed-code/Client.java
new file mode 100755
index 0000000..a945f48
--- /dev/null
+++ b/removed-code/Client.java
@@ -0,0 +1,48 @@
+/*
+ * Copyright (c) 2006 Manuel Traut and Volker Dahnke
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ *
+ * Contributors: Manuel Traut and Volker Dahnke
+ */
+
+package YalpClients.SwtClient;
+import YalpClients.SwtClient.GUI.*;
+
+import org.eclipse.swt.*;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Shell;
+
+/*
+ * Class Client
+ *
+ * <em>Instances Model, LoadDialog and StartDialog</em>
+ *
+ * @author Volker Dahnke
+ *
+ * @version 1 02-04-2006<br>
+ */
+ public class Client implements Runnable{
+
+/*
+ * enables the Class to be loaded dynamicly.
+ * Instances Model, LoadDialog and StartDialog.
+ */
+
+ public void run () {
+
+ LoadDialog load = new LoadDialog(
+ new Shell(Display.getDefault(),SWT.NONE), SWT.NONE);
+
+ load.show();
+ final Model model = new Model();
+ load.close();
+
+ StartDialog start =
+ new StartDialog(new Shell(Display.getDefault(),SWT.MIN),model, SWT.NONE);
+
+ start.show();
+ }
+}