diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/classes/share/javax/media/j3d/MasterControl.java | 4 | ||||
-rw-r--r-- | src/classes/share/javax/media/j3d/NativePipeline.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/classes/share/javax/media/j3d/MasterControl.java b/src/classes/share/javax/media/j3d/MasterControl.java index dbb79ac..2b57a77 100644 --- a/src/classes/share/javax/media/j3d/MasterControl.java +++ b/src/classes/share/javax/media/j3d/MasterControl.java @@ -860,8 +860,8 @@ class MasterControl { boolean isWindowsVista = isWindowsOs && osName.indexOf("vista") != -1; boolean is64Bit = (sunArchDataModel != null) && sunArchDataModel.equals("64"); - // Issue 257: check to see if the sun.applet.launcher property is set to true - String sunAppletLauncher = getProperty("sun.applet.launcher"); + // Issue 257: check to see if the sun.jnlp.applet.launcher property is set to true + String sunAppletLauncher = getProperty("sun.jnlp.applet.launcher"); appletLauncher = Boolean.valueOf(sunAppletLauncher); if (isCoreLoggable(Level.CONFIG)) { diff --git a/src/classes/share/javax/media/j3d/NativePipeline.java b/src/classes/share/javax/media/j3d/NativePipeline.java index 94d5ff4..dcdf8a5 100644 --- a/src/classes/share/javax/media/j3d/NativePipeline.java +++ b/src/classes/share/javax/media/j3d/NativePipeline.java @@ -182,7 +182,7 @@ class NativePipeline extends Pipeline { public Object run() { try { if (useAppletLauncher) { - Class jnlpAppletLauncherClass = Class.forName("com.sun.applet.util.JNLPAppletLauncher"); + Class jnlpAppletLauncherClass = Class.forName("org.jdesktop.applet.util.JNLPAppletLauncher"); Method loadLibraryMethod = jnlpAppletLauncherClass.getDeclaredMethod("loadLibrary", String.class); loadLibraryMethod.invoke(null, libName); } else { |