From 4245ea5d8e1d27c8dd698c93b901dba64aa7906e Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Sat, 12 Nov 2005 01:35:19 +0000 Subject: Cleaned up wording in GLCanvas and GLJPanel javadoc about instantiation pointed out by Justin Couch git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@440 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/javax/media/opengl/GLCanvas.java | 4 +--- src/classes/javax/media/opengl/GLJPanel.java | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src/classes') diff --git a/src/classes/javax/media/opengl/GLCanvas.java b/src/classes/javax/media/opengl/GLCanvas.java index fe2cd869b..b6c1ca0d0 100644 --- a/src/classes/javax/media/opengl/GLCanvas.java +++ b/src/classes/javax/media/opengl/GLCanvas.java @@ -56,9 +56,7 @@ import com.sun.opengl.impl.*; support. This is the primary implementation of {@link GLDrawable}; {@link GLJPanel} is provided for compatibility with Swing user interfaces when adding a heavyweight doesn't work either because - of Z-ordering or LayoutManager problems. This class can not be - instantiated directly; use {@link GLDrawableFactory} to construct - them. */ + of Z-ordering or LayoutManager problems. */ public class GLCanvas extends Canvas implements GLAutoDrawable { diff --git a/src/classes/javax/media/opengl/GLJPanel.java b/src/classes/javax/media/opengl/GLJPanel.java index 5460bc0cd..cce43badf 100644 --- a/src/classes/javax/media/opengl/GLJPanel.java +++ b/src/classes/javax/media/opengl/GLJPanel.java @@ -58,9 +58,7 @@ import com.sun.opengl.impl.*; when adding a heavyweight doesn't work either because of Z-ordering or LayoutManager problems. This component attempts to use hardware-accelerated rendering via pbuffers and falls back on - to software rendering if problems occur. This class can not be - instantiated directly; use {@link GLDrawableFactory} to construct - them.

+ to software rendering if problems occur.

Note that because this component attempts to use pbuffers for rendering, and because pbuffers can not be resized, somewhat -- cgit v1.2.3