fail("Should throw IllegalArgumentException");
} catch (IllegalArgumentException e) {
// Expected
}
e2.removePropertyChangeListener(listener);
e2.setAsText("255,255,255");
assertEquals("java.awt.Color[r=255,g=255,b=255]", ((Color) e2
.getValue()).toString());
Color value1 = (Color) e2.getValue();