aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-25 03:24:08 +0100
committerSven Gothel <[email protected]>2010-11-25 03:24:08 +0100
commitcb83142365ddfc59fb2e494c207cba5c5a1cf3c6 (patch)
treebfbb6bc80aca0cb5771592ed8b7f20db34e69383
parenta6c7a003d42a00747f42452cfde0bd8b8537be47 (diff)
GLCanvas: Refine access modifiers
-rw-r--r--src/jogl/classes/javax/media/opengl/awt/GLCanvas.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java b/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java
index aeb698c81..d4c256165 100644
--- a/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java
+++ b/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java
@@ -165,7 +165,7 @@ public class GLCanvas extends Canvas implements AWTGLAutoDrawable {
public void destroyMethod();
}
- protected final static Object addClosingListener(Component c, final DestroyMethod d) {
+ /* package private */ final static Object addClosingListener(Component c, final DestroyMethod d) {
WindowAdapter cl = null;
Window w = getWindow(c);
if(null!=w) {
@@ -181,7 +181,7 @@ public class GLCanvas extends Canvas implements AWTGLAutoDrawable {
return cl;
}
- protected final static Window getWindow(Component c) {
+ private final static Window getWindow(Component c) {
while ( c!=null && ! ( c instanceof Window ) ) {
c = c.getParent();
}
@@ -328,7 +328,7 @@ public class GLCanvas extends Canvas implements AWTGLAutoDrawable {
}
}
- protected void dispose(boolean regenerate) {
+ private void dispose(boolean regenerate) {
if(DEBUG) {
Exception ex1 = new Exception("Info: dispose("+regenerate+") - start");
ex1.printStackTrace();
@@ -687,7 +687,7 @@ public class GLCanvas extends Canvas implements AWTGLAutoDrawable {
}
}
}
- DisposeAbstractGraphicsDeviceAction disposeAbstractGraphicsDeviceAction = new DisposeAbstractGraphicsDeviceAction();
+ private DisposeAbstractGraphicsDeviceAction disposeAbstractGraphicsDeviceAction = new DisposeAbstractGraphicsDeviceAction();
class InitAction implements Runnable {
public void run() {