From b37ff990377bc5b71182c85b32569a3c6430eecd Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 20 Sep 2014 07:21:55 +0200 Subject: GLJPanel: Fix backward compatibility, regression of commit fa6ba9d70d4fe47f05facc72608fb10c889f9d09 - bring back removed 'void dispose()' -> deprecated now --- src/jogl/classes/javax/media/opengl/awt/GLJPanel.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/jogl/classes/javax/media') 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"); -- cgit v1.2.3