src/java.desktop/share/classes/com/sun/java/swing/plaf/windows/WindowsTreeUI.java
Print this page
@@ -104,12 +104,12 @@
}
}
}
}
- static protected final int HALF_SIZE = 4;
- static protected final int SIZE = 9;
+ protected static final int HALF_SIZE = 4;
+ protected static final int SIZE = 9;
/**
* Returns the default cell renderer that is used to do the
* stamping of each node.
*/
@@ -128,11 +128,11 @@
* long term persistence.
*/
@SuppressWarnings("serial") // Same-version serialization only
public static class ExpandedIcon implements Icon, Serializable {
- static public Icon createExpandedIcon() {
+ public static Icon createExpandedIcon() {
return new ExpandedIcon();
}
Skin getSkin(Component c) {
XPStyle xp = XPStyle.getXP();
@@ -180,11 +180,11 @@
* version of Swing. A future release of Swing will provide support for
* long term persistence.
*/
@SuppressWarnings("serial") // Superclass is not serializable across versions
public static class CollapsedIcon extends ExpandedIcon {
- static public Icon createCollapsedIcon() {
+ public static Icon createCollapsedIcon() {
return new CollapsedIcon();
}
public void paintIcon(Component c, Graphics g, int x, int y) {
Skin skin = getSkin(c);