diff options
author | Kenneth Russel <[email protected]> | 2009-03-17 21:07:26 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2009-03-17 21:07:26 +0000 |
commit | 40c18b4e195aca93e981a2b5393ddaa6983599d2 (patch) | |
tree | cba01877447486cc8ba3e05a637d1b8456535544 /src/jogl/classes/com/sun/opengl | |
parent | 9a44770462cc3e10af1eee66a75e708bd540fce9 (diff) |
Finish (?) moving javax.media.nwi -> javax.media.nativewindow
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1882 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/jogl/classes/com/sun/opengl')
43 files changed, 81 insertions, 81 deletions
diff --git a/src/jogl/classes/com/sun/opengl/impl/GLContextImpl.java b/src/jogl/classes/com/sun/opengl/impl/GLContextImpl.java index 01e639ac6..f717833f9 100644 --- a/src/jogl/classes/com/sun/opengl/impl/GLContextImpl.java +++ b/src/jogl/classes/com/sun/opengl/impl/GLContextImpl.java @@ -43,7 +43,7 @@ import java.nio.*; import java.lang.reflect.*; import javax.media.opengl.*; -import com.sun.nwi.impl.NWReflection; +import com.sun.nativewindow.impl.NWReflection; import com.sun.gluegen.runtime.*; import com.sun.gluegen.runtime.opengl.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/GLDrawableFactoryImpl.java b/src/jogl/classes/com/sun/opengl/impl/GLDrawableFactoryImpl.java index fcc55d4d7..5549da170 100644 --- a/src/jogl/classes/com/sun/opengl/impl/GLDrawableFactoryImpl.java +++ b/src/jogl/classes/com/sun/opengl/impl/GLDrawableFactoryImpl.java @@ -40,10 +40,10 @@ package com.sun.opengl.impl; import java.nio.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.gluegen.runtime.*; -import com.sun.nwi.impl.NWReflection; +import com.sun.nativewindow.impl.NWReflection; import java.lang.reflect.*; /** Extends GLDrawableFactory with a few methods for handling diff --git a/src/jogl/classes/com/sun/opengl/impl/GLDrawableImpl.java b/src/jogl/classes/com/sun/opengl/impl/GLDrawableImpl.java index f01f8eeda..ce1dc6fdf 100644 --- a/src/jogl/classes/com/sun/opengl/impl/GLDrawableImpl.java +++ b/src/jogl/classes/com/sun/opengl/impl/GLDrawableImpl.java @@ -39,7 +39,7 @@ package com.sun.opengl.impl; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; public abstract class GLDrawableImpl implements GLDrawable { diff --git a/src/jogl/classes/com/sun/opengl/impl/GLPbufferImpl.java b/src/jogl/classes/com/sun/opengl/impl/GLPbufferImpl.java index ed6f75401..c6cf74e19 100644 --- a/src/jogl/classes/com/sun/opengl/impl/GLPbufferImpl.java +++ b/src/jogl/classes/com/sun/opengl/impl/GLPbufferImpl.java @@ -46,7 +46,7 @@ import java.awt.event.*; import java.beans.PropertyChangeListener; */ -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; /** Platform-independent class exposing pbuffer functionality to diff --git a/src/jogl/classes/com/sun/opengl/impl/NativeLibLoader.java b/src/jogl/classes/com/sun/opengl/impl/NativeLibLoader.java index 8319de370..054b1e83b 100644 --- a/src/jogl/classes/com/sun/opengl/impl/NativeLibLoader.java +++ b/src/jogl/classes/com/sun/opengl/impl/NativeLibLoader.java @@ -46,14 +46,14 @@ import java.lang.reflect.Method; import java.security.AccessController; import java.security.PrivilegedAction; import java.util.HashSet; -import com.sun.nwi.impl.NativeLibLoaderBase; +import com.sun.nativewindow.impl.NativeLibLoaderBase; public class NativeLibLoader extends NativeLibLoaderBase { public static void loadNEWT() { AccessController.doPrivileged(new PrivilegedAction() { public Object run() { - loadLibrary("newt", nwiX11Preload, true); + loadLibrary("newt", nativewindowX11Preload, true); return null; } }); @@ -62,7 +62,7 @@ public class NativeLibLoader extends NativeLibLoaderBase { public static void loadGL2() { AccessController.doPrivileged(new PrivilegedAction() { public Object run() { - loadLibrary("jogl_gl2", nwiX11Preload, true); + loadLibrary("jogl_gl2", nativewindowX11Preload, true); return null; } }); @@ -71,7 +71,7 @@ public class NativeLibLoader extends NativeLibLoaderBase { public static void loadGL2ES12() { AccessController.doPrivileged(new PrivilegedAction() { public Object run() { - loadLibrary("jogl_gl2es12", nwiX11Preload, true); + loadLibrary("jogl_gl2es12", nativewindowX11Preload, true); return null; } }); @@ -80,7 +80,7 @@ public class NativeLibLoader extends NativeLibLoaderBase { public static void loadES2() { AccessController.doPrivileged(new PrivilegedAction() { public Object run() { - loadLibrary("jogl_es2", nwiX11Preload, true); + loadLibrary("jogl_es2", nativewindowX11Preload, true); return null; } }); @@ -89,7 +89,7 @@ public class NativeLibLoader extends NativeLibLoaderBase { public static void loadES1() { AccessController.doPrivileged(new PrivilegedAction() { public Object run() { - loadLibrary("jogl_es1", nwiX11Preload, true); + loadLibrary("jogl_es1", nativewindowX11Preload, true); return null; } }); @@ -98,7 +98,7 @@ public class NativeLibLoader extends NativeLibLoaderBase { public static void loadCgImpl() { AccessController.doPrivileged(new PrivilegedAction() { public Object run() { - String[] preload = { "nwi", "cg", "cgGL" }; + String[] preload = { "nativewindow", "cg", "cgGL" }; loadLibrary("jogl_cg", preload, true); return null; } @@ -129,7 +129,7 @@ public class NativeLibLoader extends NativeLibLoaderBase { } } - private static final String[] nwiX11Preload = { "nwi_x11" }; + private static final String[] nativewindowX11Preload = { "nativewindow_x11" }; private static boolean usingJNLPAppletLauncher; private static Method jnlpLoadLibraryMethod; diff --git a/src/jogl/classes/com/sun/opengl/impl/awt/AWTUtil.java b/src/jogl/classes/com/sun/opengl/impl/awt/AWTUtil.java index d156f86f8..6170e4b29 100644 --- a/src/jogl/classes/com/sun/opengl/impl/awt/AWTUtil.java +++ b/src/jogl/classes/com/sun/opengl/impl/awt/AWTUtil.java @@ -36,7 +36,7 @@ package com.sun.opengl.impl.awt; -import com.sun.nwi.impl.jawt.*; +import com.sun.nativewindow.impl.jawt.*; import com.sun.opengl.impl.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/egl/EGLConfig.java b/src/jogl/classes/com/sun/opengl/impl/egl/EGLConfig.java index 2c03a20a6..f9ad6e318 100644 --- a/src/jogl/classes/com/sun/opengl/impl/egl/EGLConfig.java +++ b/src/jogl/classes/com/sun/opengl/impl/egl/EGLConfig.java @@ -36,7 +36,7 @@ package com.sun.opengl.impl.egl; import java.util.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; import com.sun.gluegen.runtime.NativeLibrary; diff --git a/src/jogl/classes/com/sun/opengl/impl/egl/EGLContext.java b/src/jogl/classes/com/sun/opengl/impl/egl/EGLContext.java index 97ae63cd4..4e2347fcc 100755 --- a/src/jogl/classes/com/sun/opengl/impl/egl/EGLContext.java +++ b/src/jogl/classes/com/sun/opengl/impl/egl/EGLContext.java @@ -35,7 +35,7 @@ package com.sun.opengl.impl.egl; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; import com.sun.gluegen.runtime.ProcAddressTable; diff --git a/src/jogl/classes/com/sun/opengl/impl/egl/EGLDrawable.java b/src/jogl/classes/com/sun/opengl/impl/egl/EGLDrawable.java index 4843bba12..733891009 100755 --- a/src/jogl/classes/com/sun/opengl/impl/egl/EGLDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/egl/EGLDrawable.java @@ -36,9 +36,9 @@ package com.sun.opengl.impl.egl; import com.sun.opengl.impl.GLDrawableImpl; -import com.sun.nwi.impl.NWReflection; +import com.sun.nativewindow.impl.NWReflection; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; public class EGLDrawable extends GLDrawableImpl { diff --git a/src/jogl/classes/com/sun/opengl/impl/egl/EGLDrawableFactory.java b/src/jogl/classes/com/sun/opengl/impl/egl/EGLDrawableFactory.java index 8af7a3fbf..332a0a815 100755 --- a/src/jogl/classes/com/sun/opengl/impl/egl/EGLDrawableFactory.java +++ b/src/jogl/classes/com/sun/opengl/impl/egl/EGLDrawableFactory.java @@ -36,7 +36,7 @@ package com.sun.opengl.impl.egl; import java.util.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; import com.sun.gluegen.runtime.NativeLibrary; diff --git a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLContext.java b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLContext.java index 0bf9414e8..4e4c2e329 100644 --- a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLContext.java +++ b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLContext.java @@ -41,7 +41,7 @@ package com.sun.opengl.impl.macosx.cgl; import java.nio.*; import java.util.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; import com.sun.gluegen.runtime.ProcAddressTable; diff --git a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLDrawable.java b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLDrawable.java index 01816b190..67358878e 100644 --- a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLDrawable.java @@ -39,7 +39,7 @@ package com.sun.opengl.impl.macosx.cgl; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLDrawableFactory.java b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLDrawableFactory.java index ae09fa9ea..318b6b123 100644 --- a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLDrawableFactory.java +++ b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLDrawableFactory.java @@ -42,7 +42,7 @@ package com.sun.opengl.impl.macosx.cgl; import java.lang.reflect.InvocationTargetException; import java.nio.*; import java.util.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOffscreenCGLDrawable.java b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOffscreenCGLDrawable.java index aaaf38277..42eab51a1 100644 --- a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOffscreenCGLDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOffscreenCGLDrawable.java @@ -39,7 +39,7 @@ package com.sun.opengl.impl.macosx.cgl; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOnscreenCGLContext.java b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOnscreenCGLContext.java index 0767f40ee..e11ac512b 100644 --- a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOnscreenCGLContext.java +++ b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOnscreenCGLContext.java @@ -41,7 +41,7 @@ package com.sun.opengl.impl.macosx.cgl; import java.util.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOnscreenCGLDrawable.java b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOnscreenCGLDrawable.java index e17eee602..42e3957c2 100644 --- a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOnscreenCGLDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOnscreenCGLDrawable.java @@ -43,7 +43,7 @@ import java.lang.ref.WeakReference; import java.security.*; import java.util.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXPbufferCGLContext.java b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXPbufferCGLContext.java index f927731eb..7141778ae 100644 --- a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXPbufferCGLContext.java +++ b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXPbufferCGLContext.java @@ -3,7 +3,7 @@ package com.sun.opengl.impl.macosx.cgl; import java.security.*; import java.util.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXPbufferCGLDrawable.java b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXPbufferCGLDrawable.java index af5676d96..6be7392b0 100644 --- a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXPbufferCGLDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXPbufferCGLDrawable.java @@ -39,10 +39,10 @@ package com.sun.opengl.impl.macosx.cgl; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; -import com.sun.nwi.impl.NullWindow; +import com.sun.nativewindow.impl.NullWindow; public class MacOSXPbufferCGLDrawable extends MacOSXCGLDrawable { private static final boolean DEBUG = Debug.debug("MacOSXPbufferCGLDrawable"); diff --git a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsDummyWGLDrawable.java b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsDummyWGLDrawable.java index 1f1359269..619d28720 100644 --- a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsDummyWGLDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsDummyWGLDrawable.java @@ -39,10 +39,10 @@ package com.sun.opengl.impl.windows.wgl; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; -import com.sun.nwi.impl.NullWindow; +import com.sun.nativewindow.impl.NullWindow; public class WindowsDummyWGLDrawable extends WindowsWGLDrawable { private long hwnd, hdc; diff --git a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsExternalWGLDrawable.java b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsExternalWGLDrawable.java index 4a16749e3..9de51e04c 100755 --- a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsExternalWGLDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsExternalWGLDrawable.java @@ -39,10 +39,10 @@ package com.sun.opengl.impl.windows.wgl; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; -import com.sun.nwi.impl.NullWindow; +import com.sun.nativewindow.impl.NullWindow; public class WindowsExternalWGLDrawable extends WindowsWGLDrawable { diff --git a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java index 6318d1d26..979362780 100644 --- a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java @@ -39,10 +39,10 @@ package com.sun.opengl.impl.windows.wgl; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; -import com.sun.nwi.impl.NullWindow; +import com.sun.nativewindow.impl.NullWindow; public class WindowsOffscreenWGLDrawable extends WindowsWGLDrawable { private long origbitmap; diff --git a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsOnscreenWGLContext.java b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsOnscreenWGLContext.java index 7eb96c7dc..0f553ffbb 100644 --- a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsOnscreenWGLContext.java +++ b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsOnscreenWGLContext.java @@ -41,7 +41,7 @@ package com.sun.opengl.impl.windows.wgl; import java.util.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsOnscreenWGLDrawable.java b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsOnscreenWGLDrawable.java index 7c3cea255..ef9bf49c1 100644 --- a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsOnscreenWGLDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsOnscreenWGLDrawable.java @@ -39,7 +39,7 @@ package com.sun.opengl.impl.windows.wgl; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsPbufferWGLContext.java b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsPbufferWGLContext.java index e975670b4..87921f7e0 100644 --- a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsPbufferWGLContext.java +++ b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsPbufferWGLContext.java @@ -39,7 +39,7 @@ package com.sun.opengl.impl.windows.wgl; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsPbufferWGLDrawable.java b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsPbufferWGLDrawable.java index b904ca913..c829cca63 100644 --- a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsPbufferWGLDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsPbufferWGLDrawable.java @@ -39,10 +39,10 @@ package com.sun.opengl.impl.windows.wgl; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; -import com.sun.nwi.impl.NullWindow; +import com.sun.nativewindow.impl.NullWindow; public class WindowsPbufferWGLDrawable extends WindowsWGLDrawable { private long cachedParentHdc; diff --git a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLContext.java b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLContext.java index 1ce190da3..0f6682872 100644 --- a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLContext.java +++ b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLContext.java @@ -41,7 +41,7 @@ package com.sun.opengl.impl.windows.wgl; import java.nio.*; import java.util.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; import com.sun.gluegen.runtime.ProcAddressTable; diff --git a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLDrawable.java b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLDrawable.java index 430270e37..534b0adf0 100644 --- a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLDrawable.java @@ -39,7 +39,7 @@ package com.sun.opengl.impl.windows.wgl; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLDrawableFactory.java b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLDrawableFactory.java index 437b57db0..d5dd930ed 100644 --- a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLDrawableFactory.java +++ b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLDrawableFactory.java @@ -41,7 +41,7 @@ package com.sun.opengl.impl.windows.wgl; import java.nio.*; import java.util.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; import javax.media.opengl.util.BufferUtil; diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/GLXUtil.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/GLXUtil.java index 800396502..7b4165ba2 100644 --- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/GLXUtil.java +++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/GLXUtil.java @@ -35,9 +35,9 @@ package com.sun.opengl.impl.x11.glx; import javax.media.opengl.*; import com.sun.opengl.impl.*; -import javax.media.nwi.NativeWindowFactory; -import com.sun.nwi.impl.NullWindow; -import com.sun.nwi.impl.x11.*; +import javax.media.nativewindow.NativeWindowFactory; +import com.sun.nativewindow.impl.NullWindow; +import com.sun.nativewindow.impl.x11.*; public class GLXUtil { private static final boolean DEBUG = Debug.debug("GLXUtil"); diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11ExternalGLXContext.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11ExternalGLXContext.java index 02eff5d3e..c68827862 100755 --- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11ExternalGLXContext.java +++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11ExternalGLXContext.java @@ -39,11 +39,11 @@ package com.sun.opengl.impl.x11.glx; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; -import com.sun.nwi.impl.NullWindow; -import com.sun.nwi.impl.x11.*; +import com.sun.nativewindow.impl.NullWindow; +import com.sun.nativewindow.impl.x11.*; public class X11ExternalGLXContext extends X11GLXContext { private boolean firstMakeCurrent = true; diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11ExternalGLXDrawable.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11ExternalGLXDrawable.java index 9d5331b9c..2629b2362 100755 --- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11ExternalGLXDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11ExternalGLXDrawable.java @@ -39,11 +39,11 @@ package com.sun.opengl.impl.x11.glx; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; -import com.sun.nwi.impl.NullWindow; -import com.sun.nwi.impl.x11.*; +import com.sun.nativewindow.impl.NullWindow; +import com.sun.nativewindow.impl.x11.*; import java.nio.LongBuffer; diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXContext.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXContext.java index 7f39db2af..ffc09fefe 100644 --- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXContext.java +++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXContext.java @@ -41,11 +41,11 @@ package com.sun.opengl.impl.x11.glx; import java.nio.*; import java.util.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; import com.sun.opengl.impl.x11.glx.*; -import com.sun.nwi.impl.x11.*; +import com.sun.nativewindow.impl.x11.*; import com.sun.gluegen.runtime.ProcAddressTable; public abstract class X11GLXContext extends GLContextImpl { diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXDrawable.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXDrawable.java index 9f7b62dae..2f1f777c9 100644 --- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXDrawable.java @@ -39,10 +39,10 @@ package com.sun.opengl.impl.x11.glx; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; -import com.sun.nwi.impl.x11.*; +import com.sun.nativewindow.impl.x11.*; public abstract class X11GLXDrawable extends GLDrawableImpl { protected static final boolean DEBUG = Debug.debug("X11GLXDrawable"); diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXDrawableFactory.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXDrawableFactory.java index 170710633..a0c3a7758 100644 --- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXDrawableFactory.java +++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXDrawableFactory.java @@ -39,14 +39,14 @@ package com.sun.opengl.impl.x11.glx; import java.nio.*; import java.security.*; import java.util.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.gluegen.runtime.*; import com.sun.gluegen.runtime.opengl.*; import com.sun.opengl.impl.*; import com.sun.opengl.impl.x11.glx.*; -import com.sun.nwi.impl.NullWindow; -import com.sun.nwi.impl.x11.*; +import com.sun.nativewindow.impl.NullWindow; +import com.sun.nativewindow.impl.x11.*; public class X11GLXDrawableFactory extends GLDrawableFactoryImpl { protected static final boolean DEBUG = Debug.debug("X11GLXDrawableFactory"); diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXNativeWindowFactory.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXNativeWindowFactory.java index f6c5a590f..3944f4180 100644 --- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXNativeWindowFactory.java +++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXNativeWindowFactory.java @@ -32,12 +32,12 @@ package com.sun.opengl.impl.x11.glx; -import javax.media.nwi.*; -import javax.media.nwi.x11.X11GraphicsDevice; -import javax.media.nwi.x11.X11GraphicsConfiguration; -import com.sun.nwi.impl.NullWindow; -import com.sun.nwi.impl.NativeWindowFactoryImpl; -import com.sun.nwi.impl.x11.*; +import javax.media.nativewindow.*; +import javax.media.nativewindow.x11.X11GraphicsDevice; +import javax.media.nativewindow.x11.X11GraphicsConfiguration; +import com.sun.nativewindow.impl.NullWindow; +import com.sun.nativewindow.impl.NativeWindowFactoryImpl; +import com.sun.nativewindow.impl.x11.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; @@ -52,7 +52,7 @@ import com.sun.opengl.impl.x11.glx.*; public class X11GLXNativeWindowFactory extends NativeWindowFactoryImpl { public X11GLXNativeWindowFactory() { - NativeWindowFactory.registerFactory(javax.media.nwi.NativeWindow.class, this); + NativeWindowFactory.registerFactory(javax.media.nativewindow.NativeWindow.class, this); } public AbstractGraphicsConfiguration chooseGraphicsConfiguration(NWCapabilities capabilities, diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11OffscreenGLXDrawable.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11OffscreenGLXDrawable.java index 9b3dd98b3..46712bced 100644 --- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11OffscreenGLXDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11OffscreenGLXDrawable.java @@ -39,11 +39,11 @@ package com.sun.opengl.impl.x11.glx; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; -import com.sun.nwi.impl.NullWindow; -import com.sun.nwi.impl.x11.*; +import com.sun.nativewindow.impl.NullWindow; +import com.sun.nativewindow.impl.x11.*; public class X11OffscreenGLXDrawable extends X11GLXDrawable { private long pixmap; diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11OnscreenGLXContext.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11OnscreenGLXContext.java index ed6b4018e..9da86205d 100644 --- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11OnscreenGLXContext.java +++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11OnscreenGLXContext.java @@ -41,7 +41,7 @@ package com.sun.opengl.impl.x11.glx; import java.util.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; import com.sun.opengl.impl.x11.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11OnscreenGLXDrawable.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11OnscreenGLXDrawable.java index ee92b82f2..5c1a5071c 100644 --- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11OnscreenGLXDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11OnscreenGLXDrawable.java @@ -39,7 +39,7 @@ package com.sun.opengl.impl.x11.glx; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; import com.sun.opengl.impl.x11.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11PbufferGLXContext.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11PbufferGLXContext.java index a858935fc..c4f0d4332 100644 --- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11PbufferGLXContext.java +++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11PbufferGLXContext.java @@ -39,7 +39,7 @@ package com.sun.opengl.impl.x11.glx; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; import com.sun.opengl.impl.x11.*; diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11PbufferGLXDrawable.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11PbufferGLXDrawable.java index 4d7b2e5d5..99aebb4ed 100644 --- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11PbufferGLXDrawable.java +++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11PbufferGLXDrawable.java @@ -39,12 +39,12 @@ package com.sun.opengl.impl.x11.glx; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; import com.sun.opengl.impl.x11.glx.*; -import com.sun.nwi.impl.NullWindow; -import com.sun.nwi.impl.x11.*; +import com.sun.nativewindow.impl.NullWindow; +import com.sun.nativewindow.impl.x11.*; import java.nio.LongBuffer; diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/awt/X11AWTGLXNativeWindowFactory.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/awt/X11AWTGLXNativeWindowFactory.java index 34a6a6fa1..4029d90bd 100644 --- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/awt/X11AWTGLXNativeWindowFactory.java +++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/awt/X11AWTGLXNativeWindowFactory.java @@ -35,15 +35,15 @@ package com.sun.opengl.impl.x11.glx.awt; import java.awt.GraphicsConfiguration; import java.awt.GraphicsDevice; import java.awt.GraphicsEnvironment; -import javax.media.nwi.*; -import javax.media.nwi.awt.AWTGraphicsDevice; -import javax.media.nwi.awt.AWTGraphicsConfiguration; +import javax.media.nativewindow.*; +import javax.media.nativewindow.awt.AWTGraphicsDevice; +import javax.media.nativewindow.awt.AWTGraphicsConfiguration; import javax.media.opengl.*; import javax.media.opengl.awt.*; import com.sun.opengl.impl.*; -import com.sun.nwi.impl.jawt.*; -import com.sun.nwi.impl.jawt.x11.*; +import com.sun.nativewindow.impl.jawt.*; +import com.sun.nativewindow.impl.jawt.x11.*; import com.sun.opengl.impl.x11.*; import com.sun.opengl.impl.x11.glx.*; diff --git a/src/jogl/classes/com/sun/opengl/util/ImmModeSink.java b/src/jogl/classes/com/sun/opengl/util/ImmModeSink.java index 5b17b0e9d..4f30cd7b1 100644 --- a/src/jogl/classes/com/sun/opengl/util/ImmModeSink.java +++ b/src/jogl/classes/com/sun/opengl/util/ImmModeSink.java @@ -5,7 +5,7 @@ import javax.media.opengl.*; import javax.media.opengl.util.*; import javax.media.opengl.sub.*; import javax.media.opengl.sub.fixed.*; -import com.sun.nwi.impl.NWReflection; +import com.sun.nativewindow.impl.NWReflection; import java.nio.*; import java.util.Iterator; import java.util.ArrayList; diff --git a/src/jogl/classes/com/sun/opengl/util/awt/TextRenderer.java b/src/jogl/classes/com/sun/opengl/util/awt/TextRenderer.java index b7616d879..58f021e90 100755 --- a/src/jogl/classes/com/sun/opengl/util/awt/TextRenderer.java +++ b/src/jogl/classes/com/sun/opengl/util/awt/TextRenderer.java @@ -66,7 +66,7 @@ import java.text.*; import java.util.*; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import javax.media.opengl.*; import javax.media.opengl.glu.*; import javax.media.opengl.glu.gl2.*; |