X-Git-Url: https://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Fthreedee%2FWindowFactory.java;h=9d7f170683773e2e3b6af648b903389bd9d6bebf;hp=4aef1f613a66fee384e49eaae0948bcdd720d658;hb=54b9d8bc8f0025ccf97a67d9dd217ef1f9cf082f;hpb=52bf9e8686c916be37a26a0b75340393d4478b05 diff --git a/tim/prune/threedee/WindowFactory.java b/tim/prune/threedee/WindowFactory.java index 4aef1f6..9d7f170 100644 --- a/tim/prune/threedee/WindowFactory.java +++ b/tim/prune/threedee/WindowFactory.java @@ -2,8 +2,6 @@ package tim.prune.threedee; import javax.swing.JFrame; -import tim.prune.App; - /** * Factory class for getting a Window */ @@ -13,16 +11,15 @@ public abstract class WindowFactory /** * Get a Window object - * @param inApp App object * @param inFrame parent frame * @return object if available, otherwise null */ - public static ThreeDWindow getWindow(App inApp, JFrame inFrame) + public static ThreeDWindow getWindow(JFrame inFrame) { if (isJava3dEnabled()) { if (_window == null) { - _window = new Java3DWindow(inApp, inFrame); + _window = new Java3DWindow(inFrame); } else { _window.dispose(); @@ -41,7 +38,7 @@ public abstract class WindowFactory boolean has3d = false; try { - Class universeClass = Class.forName("com.sun.j3d.utils.universe.SimpleUniverse"); + Class universeClass = Class.forName("com.sun.j3d.utils.universe.SimpleUniverse"); has3d = (universeClass != null); } catch (ClassNotFoundException e)