src/demo/share/java2d/J2DBench/src/j2dbench/tests/text/TextMeasureTests.java

Print this page

        

@@ -230,11 +230,11 @@
 
             // gv options
         }
     }
 
-    public static abstract class GVMeasureTest extends TextMeasureTests {
+    public abstract static class GVMeasureTest extends TextMeasureTests {
         protected GVMeasureTest(Group parent, String nodeName, String description) {
             super(parent, nodeName, description);
         }
 
         public Context createContext() {

@@ -429,11 +429,11 @@
             // need more tl options here
             tl = new TextLayout(text, font, frc);
         }
     }
 
-    public static abstract class TLMeasureTest extends TextMeasureTests {
+    public abstract static class TLMeasureTest extends TextMeasureTests {
         protected TLMeasureTest(Group parent, String nodeName, String description) {
             super(parent, nodeName, description);
         }
 
         public Context createContext() {

@@ -504,11 +504,11 @@
             lb = tl.getBounds();
             lb.setRect(lb.getMinX() - 10, lb.getMinY(), lb.getWidth() + 20, lb.getHeight());
         }
     }
 
-    public static abstract class TLExtendedMeasureTest extends TLMeasureTest {
+    public abstract static class TLExtendedMeasureTest extends TLMeasureTest {
         protected TLExtendedMeasureTest(Group parent, String nodeName, String description) {
             super(parent, nodeName, description);
         }
 
         public Context createContext() {