.. | .. |
---|
50 | 50 | universe.material = new cMaterial(); |
---|
51 | 51 | //god.addChild(universe); |
---|
52 | 52 | universe.name = "Applet"; |
---|
53 | | - theApplet3D = this; |
---|
| 53 | + grafreeD = this; |
---|
54 | 54 | } |
---|
55 | 55 | |
---|
56 | 56 | /**/ |
---|
.. | .. |
---|
595 | 595 | |
---|
596 | 596 | public static void main(String argv[]) |
---|
597 | 597 | { |
---|
598 | | - if (argv.length == 0) |
---|
| 598 | + if (false) // argv.length == 0) |
---|
599 | 599 | { |
---|
600 | 600 | String javaPath = System.getProperty("java.home") + "/bin/java"; |
---|
601 | 601 | java.net.URL u = new GrafreeD().getClass().getResource("default.png"); |
---|
.. | .. |
---|
750 | 750 | |
---|
751 | 751 | //Monitor mon=MonitorFactory.start("myFirstMonitor"); |
---|
752 | 752 | standAlone = true; |
---|
753 | | - theApplet3D = new GrafreeD(); |
---|
754 | | - theApplet3D.universe = new Composite(); |
---|
755 | | - theApplet3D.universe.name = "Scene"; |
---|
756 | | - theApplet3D.universe.material = new cMaterial(); |
---|
| 753 | + grafreeD = new GrafreeD(); |
---|
| 754 | + grafreeD.universe = new Composite(); |
---|
| 755 | + grafreeD.universe.name = "Scene"; |
---|
| 756 | + grafreeD.universe.material = new cMaterial(); |
---|
757 | 757 | // theApplet3D.universe.textures = CameraPane.DEFAULT_TEXTURE; |
---|
758 | 758 | |
---|
759 | | - theApplet3D.universe.root = true; |
---|
760 | | - theApplet3D.universe.openEditWindow(null, true); //, true); |
---|
| 759 | + grafreeD.universe.root = true; |
---|
| 760 | + grafreeD.universe.openEditWindow(null, true); //, true); |
---|
761 | 761 | //mon.stop(); |
---|
762 | 762 | //System.out.println(mon); |
---|
| 763 | + //timeflow.app.TimeflowAppLauncher.GetTimeFlow(); |
---|
763 | 764 | } |
---|
764 | 765 | |
---|
765 | 766 | // Timer callback |
---|
.. | .. |
---|
984 | 985 | } while (avail > 0 && numRead >= 0); |
---|
985 | 986 | return new String(data, 0, pos, "US-ASCII"); |
---|
986 | 987 | } |
---|
987 | | - public static GrafreeD theApplet3D; |
---|
| 988 | + public static GrafreeD grafreeD; |
---|
988 | 989 | public static boolean standAlone = true; |
---|
989 | 990 | public Composite universe; |
---|
990 | 991 | public static Object3D clipboard = new Object3D(); |
---|