summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-09-20 07:21:55 +0200
committerSven Gothel <[email protected]>2014-09-20 07:21:55 +0200
commitb37ff990377bc5b71182c85b32569a3c6430eecd (patch)
tree854d04b615bbc9bc8cc0c0d0b5435bd024d90edb /src/jogl/classes/javax
parent55ccce090453954cf8975dcb1092b53f94b4839e (diff)
GLJPanel: Fix backward compatibility, regression of commit fa6ba9d70d4fe47f05facc72608fb10c889f9d09
- bring back removed 'void dispose()' -> deprecated now
Diffstat (limited to 'src/jogl/classes/javax')
-rw-r--r--src/jogl/classes/javax/media/opengl/awt/GLJPanel.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java b/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java
index 15dcdebdf..f079b3d03 100644
--- a/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java
+++ b/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java
@@ -462,6 +462,12 @@ public class GLJPanel extends JPanel implements AWTGLAutoDrawable, WindowClosing
}
}
+ /**
+ * @deprecated Use {@link #dispose(Runnable)}.
+ */
+ protected void dispose() {
+ dispose(null);
+ }
protected void dispose(final Runnable post) {
if(DEBUG) {
System.err.println(getThreadName()+": GLJPanel.dispose() - start");