aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/classes
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-28 20:25:31 +0200
committerMichael Bien <[email protected]>2010-03-28 20:25:31 +0200
commitbe452bbfbb101292350cc6a483471a0e98ac937b (patch)
tree6877831b84b87d48ba928e3ac55ecf8a5c18b0ab /src/newt/classes
parent9e8ba29142d83d5749fc9650715019fef3539b1d (diff)
final large refactoring to move to com.jogamp.*.
Diffstat (limited to 'src/newt/classes')
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/Display.java (renamed from src/newt/classes/com/sun/javafx/newt/Display.java)16
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/Event.java (renamed from src/newt/classes/com/sun/javafx/newt/Event.java)2
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/EventListener.java (renamed from src/newt/classes/com/sun/javafx/newt/EventListener.java)2
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/InputEvent.java (renamed from src/newt/classes/com/sun/javafx/newt/InputEvent.java)2
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/Insets.java (renamed from src/newt/classes/com/sun/javafx/newt/Insets.java)2
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/KeyEvent.java (renamed from src/newt/classes/com/sun/javafx/newt/KeyEvent.java)2
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/KeyListener.java (renamed from src/newt/classes/com/sun/javafx/newt/KeyListener.java)2
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/MouseEvent.java (renamed from src/newt/classes/com/sun/javafx/newt/MouseEvent.java)2
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/MouseListener.java (renamed from src/newt/classes/com/sun/javafx/newt/MouseListener.java)2
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/NewtFactory.java (renamed from src/newt/classes/com/sun/javafx/newt/NewtFactory.java)4
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/OffscreenWindow.java (renamed from src/newt/classes/com/sun/javafx/newt/OffscreenWindow.java)2
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/PaintEvent.java (renamed from src/newt/classes/com/sun/javafx/newt/PaintEvent.java)2
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/PaintListener.java (renamed from src/newt/classes/com/sun/javafx/newt/PaintListener.java)2
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/Screen.java (renamed from src/newt/classes/com/sun/javafx/newt/Screen.java)14
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/Window.java (renamed from src/newt/classes/com/sun/javafx/newt/Window.java)18
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/WindowEvent.java (renamed from src/newt/classes/com/sun/javafx/newt/WindowEvent.java)2
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/WindowListener.java (renamed from src/newt/classes/com/sun/javafx/newt/WindowListener.java)2
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/awt/AWTCanvas.java (renamed from src/newt/classes/com/sun/javafx/newt/awt/AWTCanvas.java)6
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/awt/AWTDisplay.java (renamed from src/newt/classes/com/sun/javafx/newt/awt/AWTDisplay.java)50
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/awt/AWTScreen.java (renamed from src/newt/classes/com/sun/javafx/newt/awt/AWTScreen.java)4
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/awt/AWTWindow.java (renamed from src/newt/classes/com/sun/javafx/newt/awt/AWTWindow.java)32
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/impl/Debug.java (renamed from src/newt/classes/com/sun/javafx/newt/impl/Debug.java)4
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/impl/NativeLibLoader.java (renamed from src/newt/classes/com/sun/javafx/newt/impl/NativeLibLoader.java)4
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/intel/gdl/Display.java (renamed from src/newt/classes/com/sun/javafx/newt/intel/gdl/Display.java)6
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/intel/gdl/Screen.java (renamed from src/newt/classes/com/sun/javafx/newt/intel/gdl/Screen.java)6
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/intel/gdl/Window.java (renamed from src/newt/classes/com/sun/javafx/newt/intel/gdl/Window.java)4
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/macosx/MacDisplay.java (renamed from src/newt/classes/com/sun/javafx/newt/macosx/MacDisplay.java)8
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/macosx/MacScreen.java (renamed from src/newt/classes/com/sun/javafx/newt/macosx/MacScreen.java)4
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/macosx/MacWindow.java (renamed from src/newt/classes/com/sun/javafx/newt/macosx/MacWindow.java)8
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/opengl/GLWindow.java (renamed from src/newt/classes/com/sun/javafx/newt/opengl/GLWindow.java)6
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/opengl/broadcom/egl/Display.java (renamed from src/newt/classes/com/sun/javafx/newt/opengl/broadcom/egl/Display.java)6
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/opengl/broadcom/egl/Screen.java (renamed from src/newt/classes/com/sun/javafx/newt/opengl/broadcom/egl/Screen.java)6
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/opengl/broadcom/egl/Window.java (renamed from src/newt/classes/com/sun/javafx/newt/opengl/broadcom/egl/Window.java)6
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/opengl/kd/KDDisplay.java (renamed from src/newt/classes/com/sun/javafx/newt/opengl/kd/KDDisplay.java)6
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/opengl/kd/KDScreen.java (renamed from src/newt/classes/com/sun/javafx/newt/opengl/kd/KDScreen.java)4
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/opengl/kd/KDWindow.java (renamed from src/newt/classes/com/sun/javafx/newt/opengl/kd/KDWindow.java)6
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/util/EventDispatchThread.java (renamed from src/newt/classes/com/sun/javafx/newt/util/EventDispatchThread.java)6
-rw-r--r--src/newt/classes/com/jogamp/javafx/newt/util/MainThread.java (renamed from src/newt/classes/com/sun/javafx/newt/util/MainThread.java)14
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/windows/WindowsDisplay.java (renamed from src/newt/classes/com/sun/javafx/newt/windows/WindowsDisplay.java)6
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/windows/WindowsScreen.java (renamed from src/newt/classes/com/sun/javafx/newt/windows/WindowsScreen.java)6
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/windows/WindowsWindow.java (renamed from src/newt/classes/com/sun/javafx/newt/windows/WindowsWindow.java)4
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/x11/X11Display.java (renamed from src/newt/classes/com/sun/javafx/newt/x11/X11Display.java)8
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/x11/X11Screen.java (renamed from src/newt/classes/com/sun/javafx/newt/x11/X11Screen.java)6
-rwxr-xr-xsrc/newt/classes/com/jogamp/javafx/newt/x11/X11Window.java (renamed from src/newt/classes/com/sun/javafx/newt/x11/X11Window.java)6
44 files changed, 155 insertions, 155 deletions
diff --git a/src/newt/classes/com/sun/javafx/newt/Display.java b/src/newt/classes/com/jogamp/javafx/newt/Display.java
index a4b7a4f51..5c5db0338 100755
--- a/src/newt/classes/com/sun/javafx/newt/Display.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/Display.java
@@ -31,11 +31,11 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
import javax.media.nativewindow.*;
-import com.sun.javafx.newt.impl.Debug;
-import com.sun.javafx.newt.util.EventDispatchThread;
+import com.jogamp.javafx.newt.impl.Debug;
+import com.jogamp.javafx.newt.util.EventDispatchThread;
import java.util.*;
public abstract class Display {
@@ -47,15 +47,15 @@ public abstract class Display {
Class displayClass = NewtFactory.getCustomClass(type, "Display");
if(null==displayClass) {
if (NativeWindowFactory.TYPE_EGL.equals(type)) {
- displayClass = Class.forName("com.sun.javafx.newt.opengl.kd.KDDisplay");
+ displayClass = Class.forName("com.jogamp.javafx.newt.opengl.kd.KDDisplay");
} else if (NativeWindowFactory.TYPE_WINDOWS.equals(type)) {
- displayClass = Class.forName("com.sun.javafx.newt.windows.WindowsDisplay");
+ displayClass = Class.forName("com.jogamp.javafx.newt.windows.WindowsDisplay");
} else if (NativeWindowFactory.TYPE_MACOSX.equals(type)) {
- displayClass = Class.forName("com.sun.javafx.newt.macosx.MacDisplay");
+ displayClass = Class.forName("com.jogamp.javafx.newt.macosx.MacDisplay");
} else if (NativeWindowFactory.TYPE_X11.equals(type)) {
- displayClass = Class.forName("com.sun.javafx.newt.x11.X11Display");
+ displayClass = Class.forName("com.jogamp.javafx.newt.x11.X11Display");
} else if (NativeWindowFactory.TYPE_AWT.equals(type)) {
- displayClass = Class.forName("com.sun.javafx.newt.awt.AWTDisplay");
+ displayClass = Class.forName("com.jogamp.javafx.newt.awt.AWTDisplay");
} else {
throw new RuntimeException("Unknown display type \"" + type + "\"");
}
diff --git a/src/newt/classes/com/sun/javafx/newt/Event.java b/src/newt/classes/com/jogamp/javafx/newt/Event.java
index 3c045c52b..4274454ab 100644
--- a/src/newt/classes/com/sun/javafx/newt/Event.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/Event.java
@@ -31,7 +31,7 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
public class Event {
private boolean isSystemEvent;
diff --git a/src/newt/classes/com/sun/javafx/newt/EventListener.java b/src/newt/classes/com/jogamp/javafx/newt/EventListener.java
index a312752fe..065cc1de3 100644
--- a/src/newt/classes/com/sun/javafx/newt/EventListener.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/EventListener.java
@@ -31,7 +31,7 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
public interface EventListener
{
diff --git a/src/newt/classes/com/sun/javafx/newt/InputEvent.java b/src/newt/classes/com/jogamp/javafx/newt/InputEvent.java
index b49c72e75..0cfaaa4c0 100644
--- a/src/newt/classes/com/sun/javafx/newt/InputEvent.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/InputEvent.java
@@ -31,7 +31,7 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
public abstract class InputEvent extends Event
{
diff --git a/src/newt/classes/com/sun/javafx/newt/Insets.java b/src/newt/classes/com/jogamp/javafx/newt/Insets.java
index 7d379cd92..5c91847f4 100644
--- a/src/newt/classes/com/sun/javafx/newt/Insets.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/Insets.java
@@ -30,7 +30,7 @@
* SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
/**
* Simple class representing insets.
diff --git a/src/newt/classes/com/sun/javafx/newt/KeyEvent.java b/src/newt/classes/com/jogamp/javafx/newt/KeyEvent.java
index c7450da67..8ae92464c 100644
--- a/src/newt/classes/com/sun/javafx/newt/KeyEvent.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/KeyEvent.java
@@ -31,7 +31,7 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
public class KeyEvent extends InputEvent
{
diff --git a/src/newt/classes/com/sun/javafx/newt/KeyListener.java b/src/newt/classes/com/jogamp/javafx/newt/KeyListener.java
index 6f022c45a..7921a0a97 100644
--- a/src/newt/classes/com/sun/javafx/newt/KeyListener.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/KeyListener.java
@@ -31,7 +31,7 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
public interface KeyListener extends EventListener
{
diff --git a/src/newt/classes/com/sun/javafx/newt/MouseEvent.java b/src/newt/classes/com/jogamp/javafx/newt/MouseEvent.java
index ede193e1c..82989e216 100644
--- a/src/newt/classes/com/sun/javafx/newt/MouseEvent.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/MouseEvent.java
@@ -31,7 +31,7 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
public class MouseEvent extends InputEvent
{
diff --git a/src/newt/classes/com/sun/javafx/newt/MouseListener.java b/src/newt/classes/com/jogamp/javafx/newt/MouseListener.java
index 3d2031f2a..a0d42f738 100644
--- a/src/newt/classes/com/sun/javafx/newt/MouseListener.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/MouseListener.java
@@ -31,7 +31,7 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
public interface MouseListener extends EventListener
{
diff --git a/src/newt/classes/com/sun/javafx/newt/NewtFactory.java b/src/newt/classes/com/jogamp/javafx/newt/NewtFactory.java
index 6e25b19eb..aae51aaf6 100755
--- a/src/newt/classes/com/sun/javafx/newt/NewtFactory.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/NewtFactory.java
@@ -31,12 +31,12 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
import javax.media.nativewindow.*;
import java.util.ArrayList;
import java.util.Iterator;
-import com.sun.nativewindow.impl.jvm.JVMUtil;
+import com.jogamp.nativewindow.impl.jvm.JVMUtil;
public abstract class NewtFactory {
// Work-around for initialization order problems on Mac OS X
diff --git a/src/newt/classes/com/sun/javafx/newt/OffscreenWindow.java b/src/newt/classes/com/jogamp/javafx/newt/OffscreenWindow.java
index 11ce8e6c7..015e9b8d2 100644
--- a/src/newt/classes/com/sun/javafx/newt/OffscreenWindow.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/OffscreenWindow.java
@@ -31,7 +31,7 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
import javax.media.nativewindow.*;
diff --git a/src/newt/classes/com/sun/javafx/newt/PaintEvent.java b/src/newt/classes/com/jogamp/javafx/newt/PaintEvent.java
index b27b969da..8543246a7 100755
--- a/src/newt/classes/com/sun/javafx/newt/PaintEvent.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/PaintEvent.java
@@ -31,7 +31,7 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
/**
*
diff --git a/src/newt/classes/com/sun/javafx/newt/PaintListener.java b/src/newt/classes/com/jogamp/javafx/newt/PaintListener.java
index fab5fa35c..adfd78f18 100755
--- a/src/newt/classes/com/sun/javafx/newt/PaintListener.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/PaintListener.java
@@ -31,7 +31,7 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
/**
*
diff --git a/src/newt/classes/com/sun/javafx/newt/Screen.java b/src/newt/classes/com/jogamp/javafx/newt/Screen.java
index 9edd0b719..b02a7ef00 100755
--- a/src/newt/classes/com/sun/javafx/newt/Screen.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/Screen.java
@@ -31,9 +31,9 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
-import com.sun.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.impl.*;
import javax.media.nativewindow.*;
import java.security.*;
@@ -46,15 +46,15 @@ public abstract class Screen {
Class screenClass = NewtFactory.getCustomClass(type, "Screen");
if(null==screenClass) {
if (NativeWindowFactory.TYPE_EGL.equals(type)) {
- screenClass = Class.forName("com.sun.javafx.newt.opengl.kd.KDScreen");
+ screenClass = Class.forName("com.jogamp.javafx.newt.opengl.kd.KDScreen");
} else if (NativeWindowFactory.TYPE_WINDOWS.equals(type)) {
- screenClass = Class.forName("com.sun.javafx.newt.windows.WindowsScreen");
+ screenClass = Class.forName("com.jogamp.javafx.newt.windows.WindowsScreen");
} else if (NativeWindowFactory.TYPE_MACOSX.equals(type)) {
- screenClass = Class.forName("com.sun.javafx.newt.macosx.MacScreen");
+ screenClass = Class.forName("com.jogamp.javafx.newt.macosx.MacScreen");
} else if (NativeWindowFactory.TYPE_X11.equals(type)) {
- screenClass = Class.forName("com.sun.javafx.newt.x11.X11Screen");
+ screenClass = Class.forName("com.jogamp.javafx.newt.x11.X11Screen");
} else if (NativeWindowFactory.TYPE_AWT.equals(type)) {
- screenClass = Class.forName("com.sun.javafx.newt.awt.AWTScreen");
+ screenClass = Class.forName("com.jogamp.javafx.newt.awt.AWTScreen");
} else {
throw new RuntimeException("Unknown window type \"" + type + "\"");
}
diff --git a/src/newt/classes/com/sun/javafx/newt/Window.java b/src/newt/classes/com/jogamp/javafx/newt/Window.java
index 58bd251d2..2d9341e13 100755
--- a/src/newt/classes/com/sun/javafx/newt/Window.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/Window.java
@@ -31,13 +31,13 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
-import com.sun.javafx.newt.impl.Debug;
-import com.sun.javafx.newt.util.EventDispatchThread;
+import com.jogamp.javafx.newt.impl.Debug;
+import com.jogamp.javafx.newt.util.EventDispatchThread;
import javax.media.nativewindow.*;
-import com.sun.nativewindow.impl.NWReflection;
+import com.jogamp.nativewindow.impl.NWReflection;
import java.util.ArrayList;
import java.util.Iterator;
@@ -70,15 +70,15 @@ public abstract class Window implements NativeWindow
Class windowClass = NewtFactory.getCustomClass(type, "Window");
if(null==windowClass) {
if (NativeWindowFactory.TYPE_EGL.equals(type)) {
- windowClass = Class.forName("com.sun.javafx.newt.opengl.kd.KDWindow");
+ windowClass = Class.forName("com.jogamp.javafx.newt.opengl.kd.KDWindow");
} else if (NativeWindowFactory.TYPE_WINDOWS.equals(type)) {
- windowClass = Class.forName("com.sun.javafx.newt.windows.WindowsWindow");
+ windowClass = Class.forName("com.jogamp.javafx.newt.windows.WindowsWindow");
} else if (NativeWindowFactory.TYPE_MACOSX.equals(type)) {
- windowClass = Class.forName("com.sun.javafx.newt.macosx.MacWindow");
+ windowClass = Class.forName("com.jogamp.javafx.newt.macosx.MacWindow");
} else if (NativeWindowFactory.TYPE_X11.equals(type)) {
- windowClass = Class.forName("com.sun.javafx.newt.x11.X11Window");
+ windowClass = Class.forName("com.jogamp.javafx.newt.x11.X11Window");
} else if (NativeWindowFactory.TYPE_AWT.equals(type)) {
- windowClass = Class.forName("com.sun.javafx.newt.awt.AWTWindow");
+ windowClass = Class.forName("com.jogamp.javafx.newt.awt.AWTWindow");
} else {
throw new NativeWindowException("Unknown window type \"" + type + "\"");
}
diff --git a/src/newt/classes/com/sun/javafx/newt/WindowEvent.java b/src/newt/classes/com/jogamp/javafx/newt/WindowEvent.java
index c5aa65e3d..74edfc564 100644
--- a/src/newt/classes/com/sun/javafx/newt/WindowEvent.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/WindowEvent.java
@@ -31,7 +31,7 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
public class WindowEvent extends Event {
public static final int EVENT_WINDOW_RESIZED = 100;
diff --git a/src/newt/classes/com/sun/javafx/newt/WindowListener.java b/src/newt/classes/com/jogamp/javafx/newt/WindowListener.java
index 81624fa75..c4e79781c 100644
--- a/src/newt/classes/com/sun/javafx/newt/WindowListener.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/WindowListener.java
@@ -31,7 +31,7 @@
*
*/
-package com.sun.javafx.newt;
+package com.jogamp.javafx.newt;
public interface WindowListener extends EventListener {
public void windowResized(WindowEvent e);
diff --git a/src/newt/classes/com/sun/javafx/newt/awt/AWTCanvas.java b/src/newt/classes/com/jogamp/javafx/newt/awt/AWTCanvas.java
index 6b8fc43c7..fef30f385 100644
--- a/src/newt/classes/com/sun/javafx/newt/awt/AWTCanvas.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/awt/AWTCanvas.java
@@ -31,9 +31,9 @@
*
*/
-package com.sun.javafx.newt.awt;
+package com.jogamp.javafx.newt.awt;
-import com.sun.javafx.newt.Window;
+import com.jogamp.javafx.newt.Window;
import java.awt.Canvas;
import java.awt.GraphicsDevice;
@@ -42,7 +42,7 @@ import java.awt.GraphicsConfiguration;
import javax.media.nativewindow.*;
import javax.media.nativewindow.awt.*;
-import com.sun.javafx.newt.impl.Debug;
+import com.jogamp.javafx.newt.impl.Debug;
import java.lang.reflect.Method;
import java.security.AccessController;
import java.security.PrivilegedAction;
diff --git a/src/newt/classes/com/sun/javafx/newt/awt/AWTDisplay.java b/src/newt/classes/com/jogamp/javafx/newt/awt/AWTDisplay.java
index 19f3ed1a8..be36df2a4 100644
--- a/src/newt/classes/com/sun/javafx/newt/awt/AWTDisplay.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/awt/AWTDisplay.java
@@ -31,11 +31,11 @@
*
*/
-package com.sun.javafx.newt.awt;
+package com.jogamp.javafx.newt.awt;
import java.awt.event.*;
-import com.sun.javafx.newt.Display;
-import com.sun.javafx.newt.Window;
+import com.jogamp.javafx.newt.Display;
+import com.jogamp.javafx.newt.Window;
import javax.media.nativewindow.*;
import javax.media.nativewindow.awt.*;
import java.util.*;
@@ -66,20 +66,20 @@ public class AWTDisplay extends Display {
}
if (w != null) {
switch (w.getType()) {
- case com.sun.javafx.newt.WindowEvent.EVENT_WINDOW_RESIZED:
- case com.sun.javafx.newt.WindowEvent.EVENT_WINDOW_MOVED:
- case com.sun.javafx.newt.WindowEvent.EVENT_WINDOW_DESTROY_NOTIFY:
+ case com.jogamp.javafx.newt.WindowEvent.EVENT_WINDOW_RESIZED:
+ case com.jogamp.javafx.newt.WindowEvent.EVENT_WINDOW_MOVED:
+ case com.jogamp.javafx.newt.WindowEvent.EVENT_WINDOW_DESTROY_NOTIFY:
w.getWindow().sendWindowEvent(w.getType());
break;
- case com.sun.javafx.newt.MouseEvent.EVENT_MOUSE_CLICKED:
- case com.sun.javafx.newt.MouseEvent.EVENT_MOUSE_ENTERED:
- case com.sun.javafx.newt.MouseEvent.EVENT_MOUSE_EXITED:
- case com.sun.javafx.newt.MouseEvent.EVENT_MOUSE_PRESSED:
- case com.sun.javafx.newt.MouseEvent.EVENT_MOUSE_RELEASED:
- case com.sun.javafx.newt.MouseEvent.EVENT_MOUSE_MOVED:
- case com.sun.javafx.newt.MouseEvent.EVENT_MOUSE_DRAGGED:
- case com.sun.javafx.newt.MouseEvent.EVENT_MOUSE_WHEEL_MOVED:
+ case com.jogamp.javafx.newt.MouseEvent.EVENT_MOUSE_CLICKED:
+ case com.jogamp.javafx.newt.MouseEvent.EVENT_MOUSE_ENTERED:
+ case com.jogamp.javafx.newt.MouseEvent.EVENT_MOUSE_EXITED:
+ case com.jogamp.javafx.newt.MouseEvent.EVENT_MOUSE_PRESSED:
+ case com.jogamp.javafx.newt.MouseEvent.EVENT_MOUSE_RELEASED:
+ case com.jogamp.javafx.newt.MouseEvent.EVENT_MOUSE_MOVED:
+ case com.jogamp.javafx.newt.MouseEvent.EVENT_MOUSE_DRAGGED:
+ case com.jogamp.javafx.newt.MouseEvent.EVENT_MOUSE_WHEEL_MOVED:
{
MouseEvent e = (MouseEvent) w.getEvent();
int rotation = 0;
@@ -92,9 +92,9 @@ public class AWTDisplay extends Display {
}
break;
- case com.sun.javafx.newt.KeyEvent.EVENT_KEY_PRESSED:
- case com.sun.javafx.newt.KeyEvent.EVENT_KEY_RELEASED:
- case com.sun.javafx.newt.KeyEvent.EVENT_KEY_TYPED:
+ case com.jogamp.javafx.newt.KeyEvent.EVENT_KEY_PRESSED:
+ case com.jogamp.javafx.newt.KeyEvent.EVENT_KEY_RELEASED:
+ case com.jogamp.javafx.newt.KeyEvent.EVENT_KEY_TYPED:
{
KeyEvent e = (KeyEvent) w.getEvent();
w.getWindow().sendKeyEvent(w.getType(), convertModifiers(e),
@@ -148,19 +148,19 @@ public class AWTDisplay extends Display {
private static int convertModifiers(InputEvent e) {
int newtMods = 0;
int mods = e.getModifiers();
- if ((mods & InputEvent.SHIFT_MASK) != 0) newtMods |= com.sun.javafx.newt.InputEvent.SHIFT_MASK;
- if ((mods & InputEvent.CTRL_MASK) != 0) newtMods |= com.sun.javafx.newt.InputEvent.CTRL_MASK;
- if ((mods & InputEvent.META_MASK) != 0) newtMods |= com.sun.javafx.newt.InputEvent.META_MASK;
- if ((mods & InputEvent.ALT_MASK) != 0) newtMods |= com.sun.javafx.newt.InputEvent.ALT_MASK;
- if ((mods & InputEvent.ALT_GRAPH_MASK) != 0) newtMods |= com.sun.javafx.newt.InputEvent.ALT_GRAPH_MASK;
+ if ((mods & InputEvent.SHIFT_MASK) != 0) newtMods |= com.jogamp.javafx.newt.InputEvent.SHIFT_MASK;
+ if ((mods & InputEvent.CTRL_MASK) != 0) newtMods |= com.jogamp.javafx.newt.InputEvent.CTRL_MASK;
+ if ((mods & InputEvent.META_MASK) != 0) newtMods |= com.jogamp.javafx.newt.InputEvent.META_MASK;
+ if ((mods & InputEvent.ALT_MASK) != 0) newtMods |= com.jogamp.javafx.newt.InputEvent.ALT_MASK;
+ if ((mods & InputEvent.ALT_GRAPH_MASK) != 0) newtMods |= com.jogamp.javafx.newt.InputEvent.ALT_GRAPH_MASK;
return newtMods;
}
private static int convertButton(MouseEvent e) {
switch (e.getButton()) {
- case MouseEvent.BUTTON1: return com.sun.javafx.newt.MouseEvent.BUTTON1;
- case MouseEvent.BUTTON2: return com.sun.javafx.newt.MouseEvent.BUTTON2;
- case MouseEvent.BUTTON3: return com.sun.javafx.newt.MouseEvent.BUTTON3;
+ case MouseEvent.BUTTON1: return com.jogamp.javafx.newt.MouseEvent.BUTTON1;
+ case MouseEvent.BUTTON2: return com.jogamp.javafx.newt.MouseEvent.BUTTON2;
+ case MouseEvent.BUTTON3: return com.jogamp.javafx.newt.MouseEvent.BUTTON3;
}
return 0;
}
diff --git a/src/newt/classes/com/sun/javafx/newt/awt/AWTScreen.java b/src/newt/classes/com/jogamp/javafx/newt/awt/AWTScreen.java
index 9bda5893b..00da66078 100644
--- a/src/newt/classes/com/sun/javafx/newt/awt/AWTScreen.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/awt/AWTScreen.java
@@ -31,9 +31,9 @@
*
*/
-package com.sun.javafx.newt.awt;
+package com.jogamp.javafx.newt.awt;
-import com.sun.javafx.newt.*;
+import com.jogamp.javafx.newt.*;
import java.awt.DisplayMode;
import javax.media.nativewindow.*;
import javax.media.nativewindow.awt.*;
diff --git a/src/newt/classes/com/sun/javafx/newt/awt/AWTWindow.java b/src/newt/classes/com/jogamp/javafx/newt/awt/AWTWindow.java
index 9725cf08b..a0c2b6a89 100644
--- a/src/newt/classes/com/sun/javafx/newt/awt/AWTWindow.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/awt/AWTWindow.java
@@ -31,7 +31,7 @@
*
*/
-package com.sun.javafx.newt.awt;
+package com.jogamp.javafx.newt.awt;
import java.awt.BorderLayout;
import java.awt.Canvas;
@@ -47,7 +47,7 @@ import java.awt.event.*;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.*;
-import com.sun.javafx.newt.Window;
+import com.jogamp.javafx.newt.Window;
import java.awt.Insets;
import javax.media.nativewindow.*;
import javax.media.nativewindow.awt.*;
@@ -204,7 +204,7 @@ public class AWTWindow extends Window {
});
}
- public com.sun.javafx.newt.Insets getInsets() {
+ public com.jogamp.javafx.newt.Insets getInsets() {
final int insets[] = new int[] { 0, 0, 0, 0 };
runOnEDT(true, new Runnable() {
public void run() {
@@ -215,7 +215,7 @@ public class AWTWindow extends Window {
insets[3] = contInsets.right;
}
});
- return new com.sun.javafx.newt.
+ return new com.jogamp.javafx.newt.
Insets(insets[0],insets[1],insets[2],insets[3]);
}
@@ -324,7 +324,7 @@ public class AWTWindow extends Window {
x = container.getX();
y = container.getY();
}
- display.enqueueEvent(window, com.sun.javafx.newt.WindowEvent.EVENT_WINDOW_MOVED, null);
+ display.enqueueEvent(window, com.jogamp.javafx.newt.WindowEvent.EVENT_WINDOW_MOVED, null);
}
public void componentShown(ComponentEvent e) {
@@ -347,7 +347,7 @@ public class AWTWindow extends Window {
public void componentResized(ComponentEvent e) {
width = canvas.getWidth();
height = canvas.getHeight();
- display.enqueueEvent(window, com.sun.javafx.newt.WindowEvent.EVENT_WINDOW_RESIZED, null);
+ display.enqueueEvent(window, com.jogamp.javafx.newt.WindowEvent.EVENT_WINDOW_RESIZED, null);
}
public void componentMoved(ComponentEvent e) {
@@ -365,39 +365,39 @@ public class AWTWindow extends Window {
}
public void mouseEntered(MouseEvent e) {
- display.enqueueEvent(window, com.sun.javafx.newt.MouseEvent.EVENT_MOUSE_ENTERED, e);
+ display.enqueueEvent(window, com.jogamp.javafx.newt.MouseEvent.EVENT_MOUSE_ENTERED, e);
}
public void mouseExited(MouseEvent e) {
- display.enqueueEvent(window, com.sun.javafx.newt.MouseEvent.EVENT_MOUSE_EXITED, e);
+ display.enqueueEvent(window, com.jogamp.javafx.newt.MouseEvent.EVENT_MOUSE_EXITED, e);
}
public void mousePressed(MouseEvent e) {
- display.enqueueEvent(window, com.sun.javafx.newt.MouseEvent.EVENT_MOUSE_PRESSED, e);
+ display.enqueueEvent(window, com.jogamp.javafx.newt.MouseEvent.EVENT_MOUSE_PRESSED, e);
}
public void mouseReleased(MouseEvent e) {
- display.enqueueEvent(window, com.sun.javafx.newt.MouseEvent.EVENT_MOUSE_RELEASED, e);
+ display.enqueueEvent(window, com.jogamp.javafx.newt.MouseEvent.EVENT_MOUSE_RELEASED, e);
}
public void mouseMoved(MouseEvent e) {
- display.enqueueEvent(window, com.sun.javafx.newt.MouseEvent.EVENT_MOUSE_MOVED, e);
+ display.enqueueEvent(window, com.jogamp.javafx.newt.MouseEvent.EVENT_MOUSE_MOVED, e);
}
public void mouseDragged(MouseEvent e) {
- display.enqueueEvent(window, com.sun.javafx.newt.MouseEvent.EVENT_MOUSE_DRAGGED, e);
+ display.enqueueEvent(window, com.jogamp.javafx.newt.MouseEvent.EVENT_MOUSE_DRAGGED, e);
}
public void keyPressed(KeyEvent e) {
- display.enqueueEvent(window, com.sun.javafx.newt.KeyEvent.EVENT_KEY_PRESSED, e);
+ display.enqueueEvent(window, com.jogamp.javafx.newt.KeyEvent.EVENT_KEY_PRESSED, e);
}
public void keyReleased(KeyEvent e) {
- display.enqueueEvent(window, com.sun.javafx.newt.KeyEvent.EVENT_KEY_RELEASED, e);
+ display.enqueueEvent(window, com.jogamp.javafx.newt.KeyEvent.EVENT_KEY_RELEASED, e);
}
public void keyTyped(KeyEvent e) {
- display.enqueueEvent(window, com.sun.javafx.newt.KeyEvent.EVENT_KEY_TYPED, e);
+ display.enqueueEvent(window, com.jogamp.javafx.newt.KeyEvent.EVENT_KEY_TYPED, e);
}
}
@@ -415,7 +415,7 @@ public class AWTWindow extends Window {
public void windowClosed(WindowEvent e) {
}
public void windowClosing(WindowEvent e) {
- display.enqueueEvent(window, com.sun.javafx.newt.WindowEvent.EVENT_WINDOW_DESTROY_NOTIFY, null);
+ display.enqueueEvent(window, com.jogamp.javafx.newt.WindowEvent.EVENT_WINDOW_DESTROY_NOTIFY, null);
}
public void windowDeactivated(WindowEvent e) {
}
diff --git a/src/newt/classes/com/sun/javafx/newt/impl/Debug.java b/src/newt/classes/com/jogamp/javafx/newt/impl/Debug.java
index 202d9d5b3..bbabe72df 100644
--- a/src/newt/classes/com/sun/javafx/newt/impl/Debug.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/impl/Debug.java
@@ -37,7 +37,7 @@
* and developed by Kenneth Bradley Russell and Christopher John Kline.
*/
-package com.sun.javafx.newt.impl;
+package com.jogamp.javafx.newt.impl;
import java.security.*;
@@ -54,7 +54,7 @@ public class Debug {
verbose = isPropertyDefined("newt.verbose", true);
debugAll = isPropertyDefined("newt.debug", true);
if (verbose) {
- Package p = Package.getPackage("com.sun.javafx.newt");
+ Package p = Package.getPackage("com.jogamp.javafx.newt");
System.err.println("NEWT specification version " + p.getSpecificationVersion());
System.err.println("NEWT implementation version " + p.getImplementationVersion());
System.err.println("NEWT implementation vendor " + p.getImplementationVendor());
diff --git a/src/newt/classes/com/sun/javafx/newt/impl/NativeLibLoader.java b/src/newt/classes/com/jogamp/javafx/newt/impl/NativeLibLoader.java
index d96c56f6e..9bbfc5921 100644
--- a/src/newt/classes/com/sun/javafx/newt/impl/NativeLibLoader.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/impl/NativeLibLoader.java
@@ -37,7 +37,7 @@
* and developed by Kenneth Bradley Russell and Christopher John Kline.
*/
-package com.sun.javafx.newt.impl;
+package com.jogamp.javafx.newt.impl;
// FIXME: refactor Java SE dependencies
//import java.awt.Toolkit;
@@ -46,7 +46,7 @@ import java.lang.reflect.Method;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.HashSet;
-import com.sun.nativewindow.impl.NativeLibLoaderBase;
+import com.jogamp.nativewindow.impl.NativeLibLoaderBase;
public class NativeLibLoader extends NativeLibLoaderBase {
diff --git a/src/newt/classes/com/sun/javafx/newt/intel/gdl/Display.java b/src/newt/classes/com/jogamp/javafx/newt/intel/gdl/Display.java
index b1f0ac6d2..3198c7511 100644
--- a/src/newt/classes/com/sun/javafx/newt/intel/gdl/Display.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/intel/gdl/Display.java
@@ -31,12 +31,12 @@
*
*/
-package com.sun.javafx.newt.intel.gdl;
+package com.jogamp.javafx.newt.intel.gdl;
-import com.sun.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.impl.*;
import javax.media.nativewindow.*;
-public class Display extends com.sun.javafx.newt.Display {
+public class Display extends com.jogamp.javafx.newt.Display {
static int initCounter = 0;
static {
diff --git a/src/newt/classes/com/sun/javafx/newt/intel/gdl/Screen.java b/src/newt/classes/com/jogamp/javafx/newt/intel/gdl/Screen.java
index 83d9074e2..a09b1e790 100644
--- a/src/newt/classes/com/sun/javafx/newt/intel/gdl/Screen.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/intel/gdl/Screen.java
@@ -31,12 +31,12 @@
*
*/
-package com.sun.javafx.newt.intel.gdl;
+package com.jogamp.javafx.newt.intel.gdl;
-import com.sun.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.impl.*;
import javax.media.nativewindow.*;
-public class Screen extends com.sun.javafx.newt.Screen {
+public class Screen extends com.jogamp.javafx.newt.Screen {
static {
Display.initSingleton();
diff --git a/src/newt/classes/com/sun/javafx/newt/intel/gdl/Window.java b/src/newt/classes/com/jogamp/javafx/newt/intel/gdl/Window.java
index 0332f442a..28ffa1296 100644
--- a/src/newt/classes/com/sun/javafx/newt/intel/gdl/Window.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/intel/gdl/Window.java
@@ -31,11 +31,11 @@
*
*/
-package com.sun.javafx.newt.intel.gdl;
+package com.jogamp.javafx.newt.intel.gdl;
import javax.media.nativewindow.*;
-public class Window extends com.sun.javafx.newt.Window {
+public class Window extends com.jogamp.javafx.newt.Window {
static {
Display.initSingleton();
}
diff --git a/src/newt/classes/com/sun/javafx/newt/macosx/MacDisplay.java b/src/newt/classes/com/jogamp/javafx/newt/macosx/MacDisplay.java
index cd22b2b36..4d78358d7 100755
--- a/src/newt/classes/com/sun/javafx/newt/macosx/MacDisplay.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/macosx/MacDisplay.java
@@ -31,13 +31,13 @@
*
*/
-package com.sun.javafx.newt.macosx;
+package com.jogamp.javafx.newt.macosx;
import javax.media.nativewindow.*;
import javax.media.nativewindow.macosx.*;
-import com.sun.javafx.newt.*;
-import com.sun.javafx.newt.impl.*;
-import com.sun.javafx.newt.util.MainThread;
+import com.jogamp.javafx.newt.*;
+import com.jogamp.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.util.MainThread;
public class MacDisplay extends Display {
static {
diff --git a/src/newt/classes/com/sun/javafx/newt/macosx/MacScreen.java b/src/newt/classes/com/jogamp/javafx/newt/macosx/MacScreen.java
index 8983b8803..8d0be80dc 100755
--- a/src/newt/classes/com/sun/javafx/newt/macosx/MacScreen.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/macosx/MacScreen.java
@@ -31,9 +31,9 @@
*
*/
-package com.sun.javafx.newt.macosx;
+package com.jogamp.javafx.newt.macosx;
-import com.sun.javafx.newt.*;
+import com.jogamp.javafx.newt.*;
import javax.media.nativewindow.*;
public class MacScreen extends Screen {
diff --git a/src/newt/classes/com/sun/javafx/newt/macosx/MacWindow.java b/src/newt/classes/com/jogamp/javafx/newt/macosx/MacWindow.java
index 9f501ac9b..f1698bfcd 100755
--- a/src/newt/classes/com/sun/javafx/newt/macosx/MacWindow.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/macosx/MacWindow.java
@@ -31,13 +31,13 @@
*
*/
-package com.sun.javafx.newt.macosx;
+package com.jogamp.javafx.newt.macosx;
import javax.media.nativewindow.*;
-import com.sun.javafx.newt.util.MainThread;
-import com.sun.javafx.newt.*;
-import com.sun.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.util.MainThread;
+import com.jogamp.javafx.newt.*;
+import com.jogamp.javafx.newt.impl.*;
public class MacWindow extends Window {
diff --git a/src/newt/classes/com/sun/javafx/newt/opengl/GLWindow.java b/src/newt/classes/com/jogamp/javafx/newt/opengl/GLWindow.java
index 98010b2f1..b299d011e 100644
--- a/src/newt/classes/com/sun/javafx/newt/opengl/GLWindow.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/opengl/GLWindow.java
@@ -31,9 +31,9 @@
*
*/
-package com.sun.javafx.newt.opengl;
+package com.jogamp.javafx.newt.opengl;
-import com.sun.javafx.newt.*;
+import com.jogamp.javafx.newt.*;
import javax.media.nativewindow.*;
import javax.media.opengl.*;
import com.jogamp.opengl.impl.GLDrawableHelper;
@@ -145,7 +145,7 @@ public class GLWindow extends Window implements GLAutoDrawable {
* Best performance has been achieved with one GLWindow per thread.<br>
*
* Enabling local pump messages while using the EDT,
- * {@link com.sun.javafx.newt.NewtFactory#setUseEDT(boolean)},
+ * {@link com.jogamp.javafx.newt.NewtFactory#setUseEDT(boolean)},
* will result in an exception.
*
* @deprecated EXPERIMENTAL, semantic is about to be removed after further verification.
diff --git a/src/newt/classes/com/sun/javafx/newt/opengl/broadcom/egl/Display.java b/src/newt/classes/com/jogamp/javafx/newt/opengl/broadcom/egl/Display.java
index 1b74aebc3..c0c1ee5fd 100644
--- a/src/newt/classes/com/sun/javafx/newt/opengl/broadcom/egl/Display.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/opengl/broadcom/egl/Display.java
@@ -31,14 +31,14 @@
*
*/
-package com.sun.javafx.newt.opengl.broadcom.egl;
+package com.jogamp.javafx.newt.opengl.broadcom.egl;
-import com.sun.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.impl.*;
import com.jogamp.opengl.impl.egl.*;
import javax.media.nativewindow.*;
import javax.media.nativewindow.egl.*;
-public class Display extends com.sun.javafx.newt.Display {
+public class Display extends com.jogamp.javafx.newt.Display {
static {
NativeLibLoader.loadNEWT();
diff --git a/src/newt/classes/com/sun/javafx/newt/opengl/broadcom/egl/Screen.java b/src/newt/classes/com/jogamp/javafx/newt/opengl/broadcom/egl/Screen.java
index 28f7211c3..f7abe3836 100755
--- a/src/newt/classes/com/sun/javafx/newt/opengl/broadcom/egl/Screen.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/opengl/broadcom/egl/Screen.java
@@ -31,12 +31,12 @@
*
*/
-package com.sun.javafx.newt.opengl.broadcom.egl;
+package com.jogamp.javafx.newt.opengl.broadcom.egl;
-import com.sun.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.impl.*;
import javax.media.nativewindow.*;
-public class Screen extends com.sun.javafx.newt.Screen {
+public class Screen extends com.jogamp.javafx.newt.Screen {
static {
Display.initSingleton();
diff --git a/src/newt/classes/com/sun/javafx/newt/opengl/broadcom/egl/Window.java b/src/newt/classes/com/jogamp/javafx/newt/opengl/broadcom/egl/Window.java
index 8446ec20f..bd2d7930e 100755
--- a/src/newt/classes/com/sun/javafx/newt/opengl/broadcom/egl/Window.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/opengl/broadcom/egl/Window.java
@@ -31,16 +31,16 @@
*
*/
-package com.sun.javafx.newt.opengl.broadcom.egl;
+package com.jogamp.javafx.newt.opengl.broadcom.egl;
-import com.sun.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.impl.*;
import com.jogamp.opengl.impl.egl.*;
import javax.media.nativewindow.*;
import javax.media.opengl.GLCapabilities;
import javax.media.opengl.GLProfile;
import javax.media.nativewindow.NativeWindowException;
-public class Window extends com.sun.javafx.newt.Window {
+public class Window extends com.jogamp.javafx.newt.Window {
static {
Display.initSingleton();
}
diff --git a/src/newt/classes/com/sun/javafx/newt/opengl/kd/KDDisplay.java b/src/newt/classes/com/jogamp/javafx/newt/opengl/kd/KDDisplay.java
index 9e328a223..40a37115d 100755
--- a/src/newt/classes/com/sun/javafx/newt/opengl/kd/KDDisplay.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/opengl/kd/KDDisplay.java
@@ -31,10 +31,10 @@
*
*/
-package com.sun.javafx.newt.opengl.kd;
+package com.jogamp.javafx.newt.opengl.kd;
-import com.sun.javafx.newt.*;
-import com.sun.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.*;
+import com.jogamp.javafx.newt.impl.*;
import com.jogamp.opengl.impl.egl.*;
import javax.media.nativewindow.*;
import javax.media.nativewindow.egl.*;
diff --git a/src/newt/classes/com/sun/javafx/newt/opengl/kd/KDScreen.java b/src/newt/classes/com/jogamp/javafx/newt/opengl/kd/KDScreen.java
index 1767c1240..4bc7f8257 100755
--- a/src/newt/classes/com/sun/javafx/newt/opengl/kd/KDScreen.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/opengl/kd/KDScreen.java
@@ -31,9 +31,9 @@
*
*/
-package com.sun.javafx.newt.opengl.kd;
+package com.jogamp.javafx.newt.opengl.kd;
-import com.sun.javafx.newt.*;
+import com.jogamp.javafx.newt.*;
import javax.media.nativewindow.*;
public class KDScreen extends Screen {
diff --git a/src/newt/classes/com/sun/javafx/newt/opengl/kd/KDWindow.java b/src/newt/classes/com/jogamp/javafx/newt/opengl/kd/KDWindow.java
index 9919d1f6f..d5be2207c 100755
--- a/src/newt/classes/com/sun/javafx/newt/opengl/kd/KDWindow.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/opengl/kd/KDWindow.java
@@ -31,10 +31,10 @@
*
*/
-package com.sun.javafx.newt.opengl.kd;
+package com.jogamp.javafx.newt.opengl.kd;
-import com.sun.javafx.newt.*;
-import com.sun.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.*;
+import com.jogamp.javafx.newt.impl.*;
import com.jogamp.opengl.impl.egl.*;
import javax.media.nativewindow.*;
import javax.media.opengl.GLCapabilities;
diff --git a/src/newt/classes/com/sun/javafx/newt/util/EventDispatchThread.java b/src/newt/classes/com/jogamp/javafx/newt/util/EventDispatchThread.java
index a98ebab93..db3f97ee6 100644
--- a/src/newt/classes/com/sun/javafx/newt/util/EventDispatchThread.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/util/EventDispatchThread.java
@@ -34,10 +34,10 @@
* facility.
*/
-package com.sun.javafx.newt.util;
+package com.jogamp.javafx.newt.util;
-import com.sun.javafx.newt.Display;
-import com.sun.javafx.newt.impl.Debug;
+import com.jogamp.javafx.newt.Display;
+import com.jogamp.javafx.newt.impl.Debug;
import java.util.*;
public class EventDispatchThread {
diff --git a/src/newt/classes/com/sun/javafx/newt/util/MainThread.java b/src/newt/classes/com/jogamp/javafx/newt/util/MainThread.java
index abfe3f0c7..9bf25098f 100644
--- a/src/newt/classes/com/sun/javafx/newt/util/MainThread.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/util/MainThread.java
@@ -34,7 +34,7 @@
* facility.
*/
-package com.sun.javafx.newt.util;
+package com.jogamp.javafx.newt.util;
import java.util.*;
import java.lang.reflect.Method;
@@ -43,10 +43,10 @@ import java.security.*;
import javax.media.nativewindow.*;
-import com.sun.javafx.newt.*;
-import com.sun.javafx.newt.impl.*;
-import com.sun.javafx.newt.macosx.MacDisplay;
-import com.sun.nativewindow.impl.NWReflection;
+import com.jogamp.javafx.newt.*;
+import com.jogamp.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.macosx.MacDisplay;
+import com.jogamp.nativewindow.impl.NWReflection;
/**
* NEWT Utility class MainThread<P>
@@ -64,7 +64,7 @@ import com.sun.nativewindow.impl.NWReflection;
*
* To support your NEWT Window platform,
* you have to pass your <i>main thread</i> actions to {@link #invoke invoke(..)},
- * have a look at the {@link com.sun.javafx.newt.macosx.MacWindow MacWindow} implementation.<br>
+ * have a look at the {@link com.jogamp.javafx.newt.macosx.MacWindow MacWindow} implementation.<br>
* <i>TODO</i>: Some hardcoded dependencies exist in this implementation,
* where you have to patch this code or factor it out. <P>
*
@@ -77,7 +77,7 @@ import com.sun.nativewindow.impl.NWReflection;
*
* Test case on Mac OS X (or any other platform):
<PRE>
- java -XstartOnFirstThread com.sun.javafx.newt.util.MainThread demos.es1.RedSquare -GL2 -GL2 -GL2 -GL2
+ java -XstartOnFirstThread com.jogamp.javafx.newt.util.MainThread demos.es1.RedSquare -GL2 -GL2 -GL2 -GL2
</PRE>
* Which starts 4 threads, each with a window and OpenGL rendering.<br>
*/
diff --git a/src/newt/classes/com/sun/javafx/newt/windows/WindowsDisplay.java b/src/newt/classes/com/jogamp/javafx/newt/windows/WindowsDisplay.java
index 80485ed67..f2e8d21ef 100755
--- a/src/newt/classes/com/sun/javafx/newt/windows/WindowsDisplay.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/windows/WindowsDisplay.java
@@ -31,12 +31,12 @@
*
*/
-package com.sun.javafx.newt.windows;
+package com.jogamp.javafx.newt.windows;
import javax.media.nativewindow.*;
import javax.media.nativewindow.windows.*;
-import com.sun.javafx.newt.*;
-import com.sun.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.*;
+import com.jogamp.javafx.newt.impl.*;
public class WindowsDisplay extends Display {
diff --git a/src/newt/classes/com/sun/javafx/newt/windows/WindowsScreen.java b/src/newt/classes/com/jogamp/javafx/newt/windows/WindowsScreen.java
index 87ae1b49d..ab11f97dd 100755
--- a/src/newt/classes/com/sun/javafx/newt/windows/WindowsScreen.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/windows/WindowsScreen.java
@@ -31,10 +31,10 @@
*
*/
-package com.sun.javafx.newt.windows;
+package com.jogamp.javafx.newt.windows;
-import com.sun.javafx.newt.*;
-import com.sun.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.*;
+import com.jogamp.javafx.newt.impl.*;
import javax.media.nativewindow.*;
public class WindowsScreen extends Screen {
diff --git a/src/newt/classes/com/sun/javafx/newt/windows/WindowsWindow.java b/src/newt/classes/com/jogamp/javafx/newt/windows/WindowsWindow.java
index 1b5bf80cf..7c8864190 100755
--- a/src/newt/classes/com/sun/javafx/newt/windows/WindowsWindow.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/windows/WindowsWindow.java
@@ -31,10 +31,10 @@
*
*/
-package com.sun.javafx.newt.windows;
+package com.jogamp.javafx.newt.windows;
import javax.media.nativewindow.*;
-import com.sun.javafx.newt.*;
+import com.jogamp.javafx.newt.*;
public class WindowsWindow extends Window {
diff --git a/src/newt/classes/com/sun/javafx/newt/x11/X11Display.java b/src/newt/classes/com/jogamp/javafx/newt/x11/X11Display.java
index ae23c4423..96d55c082 100755
--- a/src/newt/classes/com/sun/javafx/newt/x11/X11Display.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/x11/X11Display.java
@@ -31,13 +31,13 @@
*
*/
-package com.sun.javafx.newt.x11;
+package com.jogamp.javafx.newt.x11;
import javax.media.nativewindow.*;
import javax.media.nativewindow.x11.*;
-import com.sun.javafx.newt.*;
-import com.sun.javafx.newt.impl.*;
-import com.sun.nativewindow.impl.x11.X11Util;
+import com.jogamp.javafx.newt.*;
+import com.jogamp.javafx.newt.impl.*;
+import com.jogamp.nativewindow.impl.x11.X11Util;
public class X11Display extends Display {
static {
diff --git a/src/newt/classes/com/sun/javafx/newt/x11/X11Screen.java b/src/newt/classes/com/jogamp/javafx/newt/x11/X11Screen.java
index cee576e2c..d90b1868d 100755
--- a/src/newt/classes/com/sun/javafx/newt/x11/X11Screen.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/x11/X11Screen.java
@@ -31,10 +31,10 @@
*
*/
-package com.sun.javafx.newt.x11;
+package com.jogamp.javafx.newt.x11;
-import com.sun.javafx.newt.*;
-import com.sun.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.*;
+import com.jogamp.javafx.newt.impl.*;
import javax.media.nativewindow.*;
import javax.media.nativewindow.x11.*;
diff --git a/src/newt/classes/com/sun/javafx/newt/x11/X11Window.java b/src/newt/classes/com/jogamp/javafx/newt/x11/X11Window.java
index f46ae9564..8387160c9 100755
--- a/src/newt/classes/com/sun/javafx/newt/x11/X11Window.java
+++ b/src/newt/classes/com/jogamp/javafx/newt/x11/X11Window.java
@@ -31,10 +31,10 @@
*
*/
-package com.sun.javafx.newt.x11;
+package com.jogamp.javafx.newt.x11;
-import com.sun.javafx.newt.*;
-import com.sun.javafx.newt.impl.*;
+import com.jogamp.javafx.newt.*;
+import com.jogamp.javafx.newt.impl.*;
import javax.media.nativewindow.*;
import javax.media.nativewindow.x11.*;