2003/06/18 05:59:07
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:01:42 +0000 (07:01 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:01:42 +0000 (07:01 +0000)
darcs-hash:20040130070142-2ba56-c0dca6e941975201f79ac80941be151071a548f3.gz

src/org/xwt/SpecialBoxProperty.java

index 068d4a1..16bba2e 100644 (file)
@@ -64,7 +64,10 @@ class SpecialBoxProperty {
     static final int white = 0xFFFFFFFF;
 
     static {
+        init();
+    }
 
+    private static void init() {
         specialBoxProperties.put("color", new SpecialBoxProperty() {
                 public Object get(Box b) {
                     if ((b.color & 0xFF000000) == 0) return null;