--- old/src/java.desktop/share/classes/javax/swing/border/TitledBorder.java 2015-09-18 13:05:54.445448476 -0700 +++ new/src/java.desktop/share/classes/javax/swing/border/TitledBorder.java 2015-09-18 13:05:54.333448480 -0700 @@ -100,55 +100,55 @@ /** * Use the default vertical orientation for the title text. */ - static public final int DEFAULT_POSITION = 0; + public static final int DEFAULT_POSITION = 0; /** Position the title above the border's top line. */ - static public final int ABOVE_TOP = 1; + public static final int ABOVE_TOP = 1; /** Position the title in the middle of the border's top line. */ - static public final int TOP = 2; + public static final int TOP = 2; /** Position the title below the border's top line. */ - static public final int BELOW_TOP = 3; + public static final int BELOW_TOP = 3; /** Position the title above the border's bottom line. */ - static public final int ABOVE_BOTTOM = 4; + public static final int ABOVE_BOTTOM = 4; /** Position the title in the middle of the border's bottom line. */ - static public final int BOTTOM = 5; + public static final int BOTTOM = 5; /** Position the title below the border's bottom line. */ - static public final int BELOW_BOTTOM = 6; + public static final int BELOW_BOTTOM = 6; /** * Use the default justification for the title text. */ - static public final int DEFAULT_JUSTIFICATION = 0; + public static final int DEFAULT_JUSTIFICATION = 0; /** Position title text at the left side of the border line. */ - static public final int LEFT = 1; + public static final int LEFT = 1; /** Position title text in the center of the border line. */ - static public final int CENTER = 2; + public static final int CENTER = 2; /** Position title text at the right side of the border line. */ - static public final int RIGHT = 3; + public static final int RIGHT = 3; /** Position title text at the left side of the border line * for left to right orientation, at the right side of the * border line for right to left orientation. */ - static public final int LEADING = 4; + public static final int LEADING = 4; /** Position title text at the right side of the border line * for left to right orientation, at the left side of the * border line for right to left orientation. */ - static public final int TRAILING = 5; + public static final int TRAILING = 5; /** * Space between the border and the component's edge */ - static protected final int EDGE_SPACING = 2; + protected static final int EDGE_SPACING = 2; /** * Space between the border and text */ - static protected final int TEXT_SPACING = 2; + protected static final int TEXT_SPACING = 2; /** * Horizontal inset of text that is left or right justified */ - static protected final int TEXT_INSET_H = 5; + protected static final int TEXT_INSET_H = 5; /** * Creates a TitledBorder instance.