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

Print this page

        

*** 230,240 **** // gv options } } ! public static abstract class GVMeasureTest extends TextMeasureTests { protected GVMeasureTest(Group parent, String nodeName, String description) { super(parent, nodeName, description); } public Context createContext() { --- 230,240 ---- // gv options } } ! public abstract static class GVMeasureTest extends TextMeasureTests { protected GVMeasureTest(Group parent, String nodeName, String description) { super(parent, nodeName, description); } public Context createContext() {
*** 429,439 **** // need more tl options here tl = new TextLayout(text, font, frc); } } ! public static abstract class TLMeasureTest extends TextMeasureTests { protected TLMeasureTest(Group parent, String nodeName, String description) { super(parent, nodeName, description); } public Context createContext() { --- 429,439 ---- // need more tl options here tl = new TextLayout(text, font, frc); } } ! public abstract static class TLMeasureTest extends TextMeasureTests { protected TLMeasureTest(Group parent, String nodeName, String description) { super(parent, nodeName, description); } public Context createContext() {
*** 504,514 **** lb = tl.getBounds(); lb.setRect(lb.getMinX() - 10, lb.getMinY(), lb.getWidth() + 20, lb.getHeight()); } } ! public static abstract class TLExtendedMeasureTest extends TLMeasureTest { protected TLExtendedMeasureTest(Group parent, String nodeName, String description) { super(parent, nodeName, description); } public Context createContext() { --- 504,514 ---- lb = tl.getBounds(); lb.setRect(lb.getMinX() - 10, lb.getMinY(), lb.getWidth() + 20, lb.getHeight()); } } ! public abstract static class TLExtendedMeasureTest extends TLMeasureTest { protected TLExtendedMeasureTest(Group parent, String nodeName, String description) { super(parent, nodeName, description); } public Context createContext() {