From 20ae348a58cf4aa9ec838d861e1568352950854d Mon Sep 17 00:00:00 2001 From: Kevin Rushforth Date: Thu, 31 May 2007 20:55:44 +0000 Subject: Finalized name of JNLPAppletLauncher class and property git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@850 ba19aa83-45c5-6ac9-afd3-db810772062c --- src/classes/share/javax/media/j3d/MasterControl.java | 4 ++-- src/classes/share/javax/media/j3d/NativePipeline.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 { -- cgit v1.2.3