MyworldLauncher.java
Go to
MyWorldLaucher.java version 1
|
![]() |
(2. version)
/* * $RCSfile: myworldlauncher2.html,v $ * * Copyright (c) 1999-2002. The Res Medicinae Developers. All rights reserved. * * This software is published under the GPL GNU General Public License. * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * http://www.resmedicinae.org * - Information in Medicine - */
package org.resmedicinae.application.sample.myworld;
import java.lang.*; import org.resmedicinae.application.common.main.*;
/** * This class launches the MyWorld application.. * * @version $Revision: 1.1 $ $Author: behr78 $ * @author Your name <your.name@domain.de> * */
public class MyWorldLauncher extends Object {
/** * Launches the application. * * @param args the command line arguments */ public static void main(String[] args) {
try {
ApplicationRunner r = new ApplicationRunner();
if (r != null) {
r.createApplication("org.resmedicinae.application.common.basic.BasicApplication", args, null);
} else {
throw new NullPointerException("Could not run component. The application runner is null."); }
} catch (Exception e) {
System.out.println("Could not launch application. Undiscovered exception:\n"); e.printStackTrace(); }
} }
|
Copyright (c) 1999-2002. Dirk Behrendt All rights reserved. GNU FDL license. Last Update: 10.07.2002 |