diff options
author | Sven Gothel <[email protected]> | 2014-09-20 07:21:55 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-09-20 07:21:55 +0200 |
commit | b37ff990377bc5b71182c85b32569a3c6430eecd (patch) | |
tree | 854d04b615bbc9bc8cc0c0d0b5435bd024d90edb /src/jogl/classes/javax | |
parent | 55ccce090453954cf8975dcb1092b53f94b4839e (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.java | 6 |
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"); |