diff options
Diffstat (limited to 'src/demos/j2d/TextFlow.java')
-rwxr-xr-x | src/demos/j2d/TextFlow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/j2d/TextFlow.java b/src/demos/j2d/TextFlow.java index 52542c6..f3f4524 100755 --- a/src/demos/j2d/TextFlow.java +++ b/src/demos/j2d/TextFlow.java @@ -80,7 +80,7 @@ public class TextFlow extends Demo { Frame frame = new Frame("Text Flow"); frame.setLayout(new BorderLayout()); - GLCapabilities caps = new GLCapabilities(GLProfile.GetProfile(GLProfile.GL2)); + GLCapabilities caps = new GLCapabilities(GLProfile.get(GLProfile.GL2)); GLCanvas canvas = new GLCanvas(caps); final TextFlow demo = new TextFlow(); |