aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/scripts/tests.sh4
-rw-r--r--src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java6
2 files changed, 5 insertions, 5 deletions
diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh
index f714c9b2f..b3d5a8f9b 100644
--- a/make/scripts/tests.sh
+++ b/make/scripts/tests.sh
@@ -595,7 +595,7 @@ function testawtswt() {
#testnoawt com.jogamp.opengl.test.junit.math.TestMatrix4fMatrixMulNOUI $*
#testnoawt com.jogamp.opengl.test.junit.math.TestMatrix4fProject01NOUI $*
#testnoawt com.jogamp.opengl.test.junit.math.TestMatrix4fProject02NOUI $*
-testnoawt com.jogamp.opengl.test.junit.math.TestPMVMatrix01NEWT $*
+#testnoawt com.jogamp.opengl.test.junit.math.TestPMVMatrix01NEWT $*
#testnoawt com.jogamp.opengl.test.junit.math.TestPMVMatrix02NOUI $*
#testnoawt com.jogamp.opengl.test.junit.math.TestPMVMatrix03NOUI $*
#testnoawt com.jogamp.opengl.test.junit.math.TestPMVTransform01NOUI $*
@@ -1009,7 +1009,7 @@ testnoawt com.jogamp.opengl.test.junit.math.TestPMVMatrix01NEWT $*
#testnoawt com.jogamp.opengl.demos.graph.ui.UIGraphDemoU01a $*
#testnoawt com.jogamp.opengl.demos.graph.ui.UILayoutGrid01 $*
#testnoawt com.jogamp.opengl.demos.graph.ui.UILayoutBox01 $*
-#testnoawt com.jogamp.opengl.demos.graph.ui.FontView01 $*
+testnoawt com.jogamp.opengl.demos.graph.ui.FontView01 $*
#testnoawt com.jogamp.opengl.test.junit.graph.TestTextRendererNEWT21 $*
#testnoawt com.jogamp.opengl.demos.av.MovieCube $*
diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java b/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java
index c045342a1..b094abfe0 100644
--- a/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java
+++ b/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java
@@ -186,7 +186,7 @@ public class FontView01 {
final Group glyphShapeBox = new Group( new BoxLayout( 1f, 1f, Alignment.FillCenter, new Margin(0.025f) ) );
glyphShapeBox.addShape( new GlyphShape(options.renderModes, 'A', font.getGlyph( font.getGlyphID('A')), 0, 0) );
- final Group glyphInfoBox = new Group( new BoxLayout( 1f, 1f, Alignment.FillCenter ) ); // , new Margin(0.05f, 0.025f, 0.05f, 0.025f) ) );
+ final Group glyphInfoBox = new Group( new BoxLayout( 1f, 1f, Alignment.FillCenter, new Margin(0.05f, 0.025f, 0.05f, 0.025f) ) );
final Label glyphInfo = new Label(options.renderModes, fontStatus, "Nothing there yet");
setGlyphInfo(fontStatus, glyphInfo, 'A', font.getGlyph(font.getGlyphID('A')));
glyphInfo.setColor(0.1f, 0.1f, 0.1f, 1.0f);
@@ -201,7 +201,7 @@ public class FontView01 {
return;
}
final Group group = (Group)shape;
- final int last = group.getShapes().size()-1;
+ final int last = group.getShapeCount()-1;
if( 0 > last ) {
return;
}
@@ -214,7 +214,7 @@ public class FontView01 {
final boolean doScreenshot = e.isControlDown() && e.getButtonDownCount() > 0;
scene.invoke(false, (final GLAutoDrawable d) -> {
// Handle old one
- if( 1 == glyphShapeBox.getShapes().size() ) {
+ if( 1 == glyphShapeBox.getShapeCount() ) {
final GlyphShape old = (GlyphShape) glyphShapeBox.getShapes().get(0);
if( null != old ) {
if( !doScreenshot && old.getSymbol() == g0.getSymbol() ) {