From 2b150446831e7de4421a537b00709aecf5aa2764 Mon Sep 17 00:00:00 2001 From: jada Date: Wed, 22 Feb 2006 00:17:09 +0000 Subject: Make applet programs work in the new directory structure and cleanup. --- build.xml | 46 ++++++++++++++++++---- .../j3d/examples/appearance/AppearanceMixed.java | 3 -- .../j3d/examples/appearance/AppearanceTest.java | 4 -- .../jdesktop/j3d/examples/applet3d/Applet3D.html | 2 +- .../j3d/examples/applet3d/Applet3D_plugin.html | 39 ------------------ .../examples/background/BackgroundGeometry.java | 5 +-- .../j3d/examples/collision/TickTockCollision.java | 4 +- .../configured_universe/ConfigObjLoad.java | 3 +- .../j3d/examples/four_by_four/FourByFour.html | 2 +- .../examples/four_by_four/FourByFour_plugin.html | 39 ------------------ 10 files changed, 46 insertions(+), 101 deletions(-) delete mode 100644 src/classes/org/jdesktop/j3d/examples/applet3d/Applet3D_plugin.html delete mode 100644 src/classes/org/jdesktop/j3d/examples/four_by_four/FourByFour_plugin.html diff --git a/build.xml b/build.xml index 8f662af..d44e2ce 100644 --- a/build.xml +++ b/build.xml @@ -74,14 +74,11 @@ - - - + + + + - - - - @@ -148,13 +145,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -238,6 +263,13 @@ + + + + + + Hello, Universe - +

If you were using a Java-capable browser, diff --git a/src/classes/org/jdesktop/j3d/examples/applet3d/Applet3D_plugin.html b/src/classes/org/jdesktop/j3d/examples/applet3d/Applet3D_plugin.html deleted file mode 100644 index e47eecc..0000000 --- a/src/classes/org/jdesktop/j3d/examples/applet3d/Applet3D_plugin.html +++ /dev/null @@ -1,39 +0,0 @@ - - -Hello, Universe! - - - - - - - - - - -</COMMENT> -<blockquote> -<hr> -If you were using a Java-capable browser, -you would see Hello Universe! instead of this paragraph. -<hr> -</blockquote> - - - - - - - - diff --git a/src/classes/org/jdesktop/j3d/examples/background/BackgroundGeometry.java b/src/classes/org/jdesktop/j3d/examples/background/BackgroundGeometry.java index e3391b4..cdf656c 100644 --- a/src/classes/org/jdesktop/j3d/examples/background/BackgroundGeometry.java +++ b/src/classes/org/jdesktop/j3d/examples/background/BackgroundGeometry.java @@ -53,9 +53,6 @@ import javax.vecmath.*; import java.awt.GraphicsConfiguration; import org.jdesktop.j3d.examples.Resources; -/** - * Simple Java 3D example program to display a spinning cube. - */ public class BackgroundGeometry extends javax.swing.JFrame { private SimpleUniverse univ = null; @@ -197,7 +194,7 @@ public class BackgroundGeometry extends javax.swing.JFrame { } /** - * Creates new form HelloUniverse + * Creates new form BackgroundGeometry */ public BackgroundGeometry() { diff --git a/src/classes/org/jdesktop/j3d/examples/collision/TickTockCollision.java b/src/classes/org/jdesktop/j3d/examples/collision/TickTockCollision.java index 5a85067..86fbf44 100644 --- a/src/classes/org/jdesktop/j3d/examples/collision/TickTockCollision.java +++ b/src/classes/org/jdesktop/j3d/examples/collision/TickTockCollision.java @@ -53,7 +53,7 @@ import javax.vecmath.*; import java.awt.GraphicsConfiguration; /** - * Simple Java 3D example program to display a spinning cube. + * Simple Java 3D example program to display how collision work. */ public class TickTockCollision extends javax.swing.JFrame { @@ -206,7 +206,7 @@ public class TickTockCollision extends javax.swing.JFrame { } /** - * Creates new form HelloUniverse + * Creates new form TickTockCollision */ public TickTockCollision() { // Initialize the GUI components diff --git a/src/classes/org/jdesktop/j3d/examples/configured_universe/ConfigObjLoad.java b/src/classes/org/jdesktop/j3d/examples/configured_universe/ConfigObjLoad.java index fb94bfd..16d1060 100644 --- a/src/classes/org/jdesktop/j3d/examples/configured_universe/ConfigObjLoad.java +++ b/src/classes/org/jdesktop/j3d/examples/configured_universe/ConfigObjLoad.java @@ -166,7 +166,7 @@ public class ConfigObjLoad { private void usage() { System.out.println( - "Usage: java ObjLoad [-s] [-n] [-t] [-c degrees] <.obj file>"); + "Usage: java ConfigObjLoad [-s] [-n] [-t] [-c degrees] <.obj file>"); System.out.println(" -s Spin (no user interaction)"); System.out.println(" -n No triangulation"); System.out.println(" -t No stripification"); @@ -193,6 +193,7 @@ public class ConfigObjLoad { URL configURL = Resources.getResource("configured_universe/j3d1x1-windows.cfg"); // Create a simple scene and attach it to the virtual universe BranchGroup scene = createSceneGraph(); + u = new ConfiguredUniverse(configURL); // Get the ViewingPlatform. diff --git a/src/classes/org/jdesktop/j3d/examples/four_by_four/FourByFour.html b/src/classes/org/jdesktop/j3d/examples/four_by_four/FourByFour.html index 8adb168..db06814 100644 --- a/src/classes/org/jdesktop/j3d/examples/four_by_four/FourByFour.html +++ b/src/classes/org/jdesktop/j3d/examples/four_by_four/FourByFour.html @@ -3,7 +3,7 @@ Drag the mouse in the window - +

If you were using a Java-capable browser, diff --git a/src/classes/org/jdesktop/j3d/examples/four_by_four/FourByFour_plugin.html b/src/classes/org/jdesktop/j3d/examples/four_by_four/FourByFour_plugin.html deleted file mode 100644 index 55e1cf4..0000000 --- a/src/classes/org/jdesktop/j3d/examples/four_by_four/FourByFour_plugin.html +++ /dev/null @@ -1,39 +0,0 @@ - - -Drag the mouse in the window - - - - - - - - - - -</COMMENT> -<blockquote> -<hr> -If you were using a Java-capable browser, -you would see "FourByFour" instead of this paragraph. -<hr> -</blockquote> - - - - - - - - -- cgit v1.2.3