Color inactiveForeground = (Color) getProperty(prefix, "inactiveForeground");
Insets margin = (Insets) getProperty(prefix, "margin");
Border border = (Border) getProperty(prefix, "border");
checkProperies(tf, caretForeground, selectionBackground, selectionForeground,
inactiveForeground, font, background, foreground, margin, border);
setProperies(tf, RED, GREEN, BLUE, YELLOW, new FontUIResource("SimSun", 8, 8), BLACK,
YELLOW, new InsetsUIResource(2, 4, 6, 3),
new BorderUIResource.LineBorderUIResource(Color.RED), 56);
((BasicTextUI) tf.getUI()).installDefaults();
checkProperies(tf, caretForeground, selectionBackground, selectionForeground,
inactiveForeground, font, background, foreground, margin, border);