01: /*
02: * $Header: /cvs/j3dfly/J3dEditor/src/org/jdesktop/j3dedit/j3ddelivery/ExecuteSceneGraph.java,v 1.1 2005/04/20 22:20:34 paulby Exp $
03: *
04: * Sun Public License Notice
05: *
06: * The contents of this file are subject to the Sun Public License Version
07: * 1.0 (the "License"). You may not use this file except in compliance with
08: * the License. A copy of the License is available at http://www.sun.com/
09: *
10: * The Original Code is the Java 3D(tm) Scene Graph Editor.
11: * The Initial Developer of the Original Code is Paul Byrne.
12: * Portions created by Paul Byrne are Copyright (C) 2002.
13: * All Rights Reserved.
14: *
15: * Contributor(s): Paul Byrne.
16: *
17: **/
18: package org.jdesktop.j3dedit.j3ddelivery;
19:
20: //import com.sun.j3d.demos.j3dedit.j3deditor.UserUniverse;
21: import com.sun.j3d.utils.scenegraph.io.SceneGraphIO;
22:
23: public class ExecuteSceneGraph extends Object {
24:
25: DeliveryUniverse deliveryUniverse;
26:
27: /** Creates new ExecuteSceneGraph */
28: /*
29: public ExecuteSceneGraph() {
30: deliveryUniverse = new DeliveryUniverse();
31: deliveryUniverse.show();
32: try {
33: deliveryUniverse.setSceneGraph( SceneGraphIO.load(
34: getClass ().getResource("/graph.j3f") ));
35: } catch( java.io.IOException e ) {
36: System.out.println("IO Error - Load Aborted");
37: e.printStackTrace();
38: }
39: deliveryUniverse.setLive( true );
40: }
41: */
42:
43: /**
44: * @param args the command line arguments
45: */
46: public static void main(String args[]) {
47: new ExecuteSceneGraph();
48: }
49:
50: }
|