diff options
author | Sven Gothel <[email protected]> | 2001-09-26 00:21:57 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2001-09-26 00:21:57 +0000 |
commit | 744ceb659539753d571dc46aebb601d4a2f0b401 (patch) | |
tree | d5dbaac2714b00532c51d8f35bcd6ec0927d235c /gl4java/drawable/GLDrawable.java | |
parent | 26883064d71736ccd96a6f1d9b19b85b66f5ac7c (diff) |
bugfix: auto context switch
Diffstat (limited to 'gl4java/drawable/GLDrawable.java')
-rw-r--r-- | gl4java/drawable/GLDrawable.java | 12 |
1 files changed, 11 insertions, 1 deletions
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}.
*
* <p>
* The default implementation of display() sends
@@ -86,6 +86,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
*/
|