diff options
Diffstat (limited to 'src/nativewindow/classes/javax')
14 files changed, 23 insertions, 23 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/AbstractGraphicsConfiguration.java b/src/nativewindow/classes/javax/media/nativewindow/AbstractGraphicsConfiguration.java index a85aca41c..512ebf17c 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/AbstractGraphicsConfiguration.java +++ b/src/nativewindow/classes/javax/media/nativewindow/AbstractGraphicsConfiguration.java @@ -37,7 +37,7 @@ * and developed by Kenneth Bradley Russell and Christopher John Kline. */ -package javax.media.nwi; +package javax.media.nativewindow; /** A marker interface describing a graphics configuration, visual, or pixel format in a toolkit-independent manner. */ diff --git a/src/nativewindow/classes/javax/media/nativewindow/AbstractGraphicsDevice.java b/src/nativewindow/classes/javax/media/nativewindow/AbstractGraphicsDevice.java index 743210273..3bef97aaf 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/AbstractGraphicsDevice.java +++ b/src/nativewindow/classes/javax/media/nativewindow/AbstractGraphicsDevice.java @@ -37,7 +37,7 @@ * and developed by Kenneth Bradley Russell and Christopher John Kline. */ -package javax.media.nwi; +package javax.media.nativewindow; /** A marker interface describing a graphics device in a toolkit-independent manner. */ diff --git a/src/nativewindow/classes/javax/media/nativewindow/DefaultNWCapabilitiesChooser.java b/src/nativewindow/classes/javax/media/nativewindow/DefaultNWCapabilitiesChooser.java index 1318ea419..0e18a301d 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/DefaultNWCapabilitiesChooser.java +++ b/src/nativewindow/classes/javax/media/nativewindow/DefaultNWCapabilitiesChooser.java @@ -37,7 +37,7 @@ * and developed by Kenneth Bradley Russell and Christopher John Kline. */ -package javax.media.nwi; +package javax.media.nativewindow; /** <P> The default implementation of the {@link NWCapabilitiesChooser} interface, which provides consistent visual diff --git a/src/nativewindow/classes/javax/media/nativewindow/NWCapabilities.java b/src/nativewindow/classes/javax/media/nativewindow/NWCapabilities.java index cc3ebb77c..0b0ee99f7 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NWCapabilities.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NWCapabilities.java @@ -37,7 +37,7 @@ * and developed by Kenneth Bradley Russell and Christopher John Kline. */ -package javax.media.nwi; +package javax.media.nativewindow; /** Specifies a set of OpenGL capabilities that a rendering context must support, such as color depth and whether stereo is enabled. diff --git a/src/nativewindow/classes/javax/media/nativewindow/NWCapabilitiesChooser.java b/src/nativewindow/classes/javax/media/nativewindow/NWCapabilitiesChooser.java index 12884c5e2..a980462f5 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NWCapabilitiesChooser.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NWCapabilitiesChooser.java @@ -37,7 +37,7 @@ * and developed by Kenneth Bradley Russell and Christopher John Kline. */ -package javax.media.nwi; +package javax.media.nativewindow; /** Provides a mechanism by which applications can customize the window type selection for a given {@link NWCapabilities}. diff --git a/src/nativewindow/classes/javax/media/nativewindow/NWException.java b/src/nativewindow/classes/javax/media/nativewindow/NWException.java index a9e5b054d..7d21277e6 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NWException.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NWException.java @@ -37,9 +37,9 @@ * and developed by Kenneth Bradley Russell and Christopher John Kline. */ -package javax.media.nwi; +package javax.media.nativewindow; -/** A generic exception for NWI errors used throughout the binding +/** A generic exception for errors used throughout the binding as a substitute for {@link RuntimeException}. */ public class NWException extends RuntimeException { diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java index f992c2231..99b301997 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java @@ -37,7 +37,7 @@ * and developed by Kenneth Bradley Russell and Christopher John Kline. */ -package javax.media.nwi; +package javax.media.nativewindow; /** Provides the mechanism by which the Java / OpenGL binding interacts with windows. A window toolkit such as the AWT may diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowException.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowException.java index bc1a8ddef..593c1e7d6 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowException.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowException.java @@ -37,7 +37,7 @@ * and developed by Kenneth Bradley Russell and Christopher John Kline. */ -package javax.media.nwi; +package javax.media.nativewindow; /** A generic exception for OpenGL errors used throughout the binding as a substitute for {@link RuntimeException}. */ diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java index 622dfc3a7..fc9235075 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java @@ -30,14 +30,14 @@ * SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. */ -package javax.media.nwi; +package javax.media.nativewindow; -import javax.media.nwi.*; +import javax.media.nativewindow.*; import java.lang.reflect.*; import java.security.*; import java.util.*; -import com.sun.nwi.impl.*; +import com.sun.nativewindow.impl.*; /** Provides the link between the window toolkit and the Java binding to the OpenGL API. The NativeWindowFactory, and NativeWindow @@ -69,7 +69,7 @@ public abstract class NativeWindowFactory { // make it easier to run this code on mobile devices NativeWindowFactory factory = new NativeWindowFactoryImpl(); - nativeWindowClass = javax.media.nwi.NativeWindow.class; + nativeWindowClass = javax.media.nativewindow.NativeWindow.class; registerFactory(nativeWindowClass, factory); defaultFactory = factory; @@ -84,7 +84,7 @@ public abstract class NativeWindowFactory { // Assume X11 platform -- should probably test for these explicitly try { Constructor factoryConstructor = - NWReflection.getConstructor("com.sun.nwi.impl.x11.awt.X11AWTNativeWindowFactory", new Class[] {}); + NWReflection.getConstructor("com.sun.nativewindow.impl.x11.awt.X11AWTNativeWindowFactory", new Class[] {}); factory = (NativeWindowFactory) factoryConstructor.newInstance(null); } catch (Exception e) { } } diff --git a/src/nativewindow/classes/javax/media/nativewindow/ToolkitLock.java b/src/nativewindow/classes/javax/media/nativewindow/ToolkitLock.java index c9e2b4170..6b9d25190 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/ToolkitLock.java +++ b/src/nativewindow/classes/javax/media/nativewindow/ToolkitLock.java @@ -30,7 +30,7 @@ * SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. */ -package javax.media.nwi; +package javax.media.nativewindow; /** Provides an interface for locking and unlocking the underlying window toolkit, where this is necessary in the OpenGL diff --git a/src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsConfiguration.java b/src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsConfiguration.java index 313654c05..389417615 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsConfiguration.java +++ b/src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsConfiguration.java @@ -37,10 +37,10 @@ * and developed by Kenneth Bradley Russell and Christopher John Kline. */ -package javax.media.nwi.awt; +package javax.media.nativewindow.awt; import java.awt.GraphicsConfiguration; -import javax.media.nwi.AbstractGraphicsConfiguration; +import javax.media.nativewindow.AbstractGraphicsConfiguration; /** A wrapper for an AWT GraphicsConfiguration allowing it to be handled in a toolkit-independent manner. */ diff --git a/src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsDevice.java b/src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsDevice.java index f6da16176..72c53f550 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsDevice.java +++ b/src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsDevice.java @@ -37,10 +37,10 @@ * and developed by Kenneth Bradley Russell and Christopher John Kline. */ -package javax.media.nwi.awt; +package javax.media.nativewindow.awt; import java.awt.GraphicsDevice; -import javax.media.nwi.AbstractGraphicsDevice; +import javax.media.nativewindow.AbstractGraphicsDevice; /** A wrapper for an AWT GraphicsDevice allowing it to be handled in a toolkit-independent manner. */ diff --git a/src/nativewindow/classes/javax/media/nativewindow/x11/X11GraphicsConfiguration.java b/src/nativewindow/classes/javax/media/nativewindow/x11/X11GraphicsConfiguration.java index f18185fa7..c40f26a94 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/x11/X11GraphicsConfiguration.java +++ b/src/nativewindow/classes/javax/media/nativewindow/x11/X11GraphicsConfiguration.java @@ -30,9 +30,9 @@ * SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. */ -package javax.media.nwi.x11; +package javax.media.nativewindow.x11; -import javax.media.nwi.*; +import javax.media.nativewindow.*; /** Encapsulates a graphics configuration, or OpenGL pixel format, on X11 platforms. Objects of this type are returned from {@link diff --git a/src/nativewindow/classes/javax/media/nativewindow/x11/X11GraphicsDevice.java b/src/nativewindow/classes/javax/media/nativewindow/x11/X11GraphicsDevice.java index 3288447d9..5a12e0e62 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/x11/X11GraphicsDevice.java +++ b/src/nativewindow/classes/javax/media/nativewindow/x11/X11GraphicsDevice.java @@ -30,9 +30,9 @@ * SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. */ -package javax.media.nwi.x11; +package javax.media.nativewindow.x11; -import javax.media.nwi.*; +import javax.media.nativewindow.*; /** Encapsulates a graphics device, or screen, on X11 platforms. Objects of this type are passed to {@link |