From 744ceb659539753d571dc46aebb601d4a2f0b401 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 26 Sep 2001 00:21:57 +0000 Subject: bugfix: auto context switch --- gl4java/drawable/GLDrawable.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gl4java/drawable/GLDrawable.java') diff --git a/gl4java/drawable/GLDrawable.java b/gl4java/drawable/GLDrawable.java index 55c1311..2ec134c 100644 --- a/gl4java/drawable/GLDrawable.java +++ b/gl4java/drawable/GLDrawable.java @@ -34,7 +34,7 @@ public interface GLDrawable * * This is the rendering-method called by * e.g.: {@link gl4java.awt.GLCanvas#display} or by - * {@link gl4java.GLThread#run}. + * {@link gl4java.GLRunnable#run}. * *

* The default implementation of display() sends @@ -85,6 +85,16 @@ public interface GLDrawable */ public void display(); + /** + * this function can be called to force a repaint + * + * Repaints this component. + * + * This method causes a call to this component's update method + * as soon as possible. + */ + public void repaint(); + /** * the components listener's should be implemented also ! * since JDK 1.1 -- cgit v1.2.3