1085 "KP_DOWN", "decrement",
1086 }),
1087 "FormattedTextField.inactiveBackground", ReadOnlyTextBackground,
1088 "FormattedTextField.disabledBackground", DisabledTextBackground,
1089
1090 // *** Panel
1091 "Panel.font", ControlFont,
1092 "Panel.background", ControlBackgroundColor,
1093 "Panel.foreground", WindowTextColor,
1094
1095 // *** PasswordField
1096 "PasswordField.font", ControlFont,
1097 "PasswordField.background", TextBackground,
1098 "PasswordField.foreground", WindowTextColor,
1099 "PasswordField.inactiveForeground", InactiveTextColor, // for disabled
1100 "PasswordField.inactiveBackground", ReadOnlyTextBackground, // for readonly
1101 "PasswordField.disabledBackground", DisabledTextBackground, // for disabled
1102 "PasswordField.selectionBackground", SelectionBackgroundColor,
1103 "PasswordField.selectionForeground", SelectionTextColor,
1104 "PasswordField.caretForeground",WindowTextColor,
1105 "PasswordField.echoChar", new XPValue(new Character((char)0x25CF),
1106 new Character('*')),
1107
1108 // *** ProgressBar
1109 "ProgressBar.font", ControlFont,
1110 "ProgressBar.foreground", SelectionBackgroundColor,
1111 "ProgressBar.background", ControlBackgroundColor,
1112 "ProgressBar.shadow", ControlShadowColor,
1113 "ProgressBar.highlight", ControlHighlightColor,
1114 "ProgressBar.selectionForeground", ControlBackgroundColor,
1115 "ProgressBar.selectionBackground", SelectionBackgroundColor,
1116 "ProgressBar.cellLength", Integer.valueOf(7),
1117 "ProgressBar.cellSpacing", Integer.valueOf(2),
1118 "ProgressBar.indeterminateInsets", new Insets(3, 3, 3, 3),
1119
1120 // *** RootPane.
1121 // These bindings are only enabled when there is a default
1122 // button set on the rootpane.
1123 "RootPane.defaultButtonWindowKeyBindings", new Object[] {
1124 "ENTER", "press",
1125 "released ENTER", "release",
1126 "ctrl ENTER", "press",
|
1085 "KP_DOWN", "decrement",
1086 }),
1087 "FormattedTextField.inactiveBackground", ReadOnlyTextBackground,
1088 "FormattedTextField.disabledBackground", DisabledTextBackground,
1089
1090 // *** Panel
1091 "Panel.font", ControlFont,
1092 "Panel.background", ControlBackgroundColor,
1093 "Panel.foreground", WindowTextColor,
1094
1095 // *** PasswordField
1096 "PasswordField.font", ControlFont,
1097 "PasswordField.background", TextBackground,
1098 "PasswordField.foreground", WindowTextColor,
1099 "PasswordField.inactiveForeground", InactiveTextColor, // for disabled
1100 "PasswordField.inactiveBackground", ReadOnlyTextBackground, // for readonly
1101 "PasswordField.disabledBackground", DisabledTextBackground, // for disabled
1102 "PasswordField.selectionBackground", SelectionBackgroundColor,
1103 "PasswordField.selectionForeground", SelectionTextColor,
1104 "PasswordField.caretForeground",WindowTextColor,
1105 "PasswordField.echoChar", new XPValue((char)0x25CF, '*'),
1106
1107 // *** ProgressBar
1108 "ProgressBar.font", ControlFont,
1109 "ProgressBar.foreground", SelectionBackgroundColor,
1110 "ProgressBar.background", ControlBackgroundColor,
1111 "ProgressBar.shadow", ControlShadowColor,
1112 "ProgressBar.highlight", ControlHighlightColor,
1113 "ProgressBar.selectionForeground", ControlBackgroundColor,
1114 "ProgressBar.selectionBackground", SelectionBackgroundColor,
1115 "ProgressBar.cellLength", Integer.valueOf(7),
1116 "ProgressBar.cellSpacing", Integer.valueOf(2),
1117 "ProgressBar.indeterminateInsets", new Insets(3, 3, 3, 3),
1118
1119 // *** RootPane.
1120 // These bindings are only enabled when there is a default
1121 // button set on the rootpane.
1122 "RootPane.defaultButtonWindowKeyBindings", new Object[] {
1123 "ENTER", "press",
1124 "released ENTER", "release",
1125 "ctrl ENTER", "press",
|