From fee6fe4d468c2e7fcc3403b9f3b8412b8d4e2dbd Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 29 Dec 2009 18:25:47 +0100 Subject: added windows start scripts Signed-off-by: unknown --- src/YalpClients/SwtClient/SwtClient.java | 122 +++++++++++++++---------------- 1 file changed, 61 insertions(+), 61 deletions(-) (limited to 'src/YalpClients/SwtClient/SwtClient.java') diff --git a/src/YalpClients/SwtClient/SwtClient.java b/src/YalpClients/SwtClient/SwtClient.java index 1950eaa..513d4ff 100755 --- a/src/YalpClients/SwtClient/SwtClient.java +++ b/src/YalpClients/SwtClient/SwtClient.java @@ -1,61 +1,61 @@ -/* - * - * 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 SwtClient - * - * static main method - * - * @author Volker Dahnke / Manuel Traut - * - * @version 0.1 20-11-2005
- */ -public class SwtClient{ - -/* - * Client initialization - * - * @param argv - * arguments which are not used - */ - public static void main (String[] argv) { - try{ - System.setProperty("java.security.policy","client.policy"); - } - catch (Exception e) {//DEBUG - System.out.println ("Server SecurityManagerExeptions not caught jet " + e); - System.exit(0); - } - - LoadDialog load = new LoadDialog( - new Shell(Display.getDefault(),SWT.NONE), SWT.NONE); - - load.show(); - final Model model = new Model(argv); - load.close(); - - StartDialog start = - new StartDialog(new Shell(Display.getDefault(),SWT.MIN),model, SWT.NONE); - - start.show(); - - return; - } -} +/* + * + * 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 SwtClient + * + * static main method + * + * @author Volker Dahnke / Manuel Traut + * + * @version 0.1 20-11-2005
+ */ +public class SwtClient{ + +/* + * Client initialization + * + * @param argv + * arguments which are not used + */ + public static void main (String[] argv) { + try{ + System.setProperty("java.security.policy","client.policy"); + } + catch (Exception e) {//DEBUG + System.out.println ("Server SecurityManagerExeptions not caught jet " + e); + System.exit(0); + } + + LoadDialog load = new LoadDialog( + new Shell(Display.getDefault(),SWT.NONE), SWT.NONE); + + load.show(); + final Model model = new Model(argv); + load.close(); + + StartDialog start = + new StartDialog(new Shell(Display.getDefault(),SWT.MIN),model, SWT.NONE); + + start.show(); + + return; + } +} -- cgit v1.2.3