277 |
"Button.shadow", new ColorUIResource(Color.GRAY), |
"Button.shadow", new ColorUIResource(Color.GRAY), |
278 |
"Button.textIconGap", new Integer(4), |
"Button.textIconGap", new Integer(4), |
279 |
"Button.textShiftOffset", new Integer(0), |
"Button.textShiftOffset", new Integer(0), |
280 |
"CheckBox.background", new ColorUIResource(light), |
"CheckBox.background", new ColorUIResource(new Color(204, 204, 204)), |
281 |
"CheckBox.border", new BorderUIResource.CompoundBorderUIResource(null, |
"CheckBox.border", new BorderUIResource.CompoundBorderUIResource(null, |
282 |
null), |
null), |
283 |
"CheckBox.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { |
"CheckBox.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { |
291 |
{ |
{ |
292 |
public Object createValue(UIDefaults def) |
public Object createValue(UIDefaults def) |
293 |
{ |
{ |
294 |
return BasicIconFactory.getCheckBoxIcon(); |
return BasicIconFactory.getMenuItemCheckIcon(); |
295 |
} |
} |
296 |
}, |
}, |
297 |
"CheckBox.margin",new InsetsUIResource(2, 2, 2, 2), |
"CheckBox.margin",new InsetsUIResource(2, 2, 2, 2), |
298 |
"CheckBox.textIconGap", new Integer(4), |
"CheckBox.textIconGap", new Integer(4), |
299 |
"CheckBox.textShiftOffset", new Integer(0), |
"CheckBox.textShiftOffset", new Integer(0), |
300 |
"CheckBoxMenuItem.acceleratorFont", new FontUIResource("Dialog", |
"CheckBoxMenuItem.icon", |
301 |
|
new UIDefaults.LazyValue() |
302 |
|
{ |
303 |
|
public Object createValue(UIDefaults def) |
304 |
|
{ |
305 |
|
return BasicIconFactory.getCheckBoxIcon(); |
306 |
|
} |
307 |
|
}, |
308 |
|
"CheckBoxMenuItem.acceleratorFont", new FontUIResource("Helvetica", |
309 |
Font.PLAIN, 12), |
Font.PLAIN, 12), |
310 |
"CheckBoxMenuItem.acceleratorForeground", |
"CheckBoxMenuItem.acceleratorForeground", |
311 |
new ColorUIResource(darkShadow), |
new ColorUIResource(new Color(16, 16, 16)), |
312 |
"CheckBoxMenuItem.acceleratorSelectionForeground", |
"CheckBoxMenuItem.acceleratorSelectionForeground", |
313 |
new ColorUIResource(Color.white), |
new ColorUIResource(Color.white), |
314 |
"CheckBoxMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), |
"CheckBoxMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), |
315 |
"CheckBoxMenuItem.background", new ColorUIResource(light), |
"CheckBoxMenuItem.background", new ColorUIResource(light), |
316 |
"CheckBoxMenuItem.border", new BasicBorders.MarginBorder(), |
"CheckBoxMenuItem.border", new BasicBorders.MarginBorder(), |
317 |
"CheckBoxMenuItem.borderPainted", Boolean.FALSE, |
"CheckBoxMenuItem.borderPainted", Boolean.FALSE, |
318 |
"CheckBoxMenuItem.checkIcon", BasicIconFactory.getCheckBoxMenuItemIcon(), |
"CheckBoxMenuItem.checkIcon", |
319 |
"CheckBoxMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), |
new UIDefaults.LazyValue() |
320 |
|
{ |
321 |
|
public Object createValue(UIDefaults def) |
322 |
|
{ |
323 |
|
return BasicIconFactory.getMenuItemCheckIcon(); |
324 |
|
} |
325 |
|
}, |
326 |
|
"CheckBoxMenuItem.font", new FontUIResource("Helvetica", Font.PLAIN, 12), |
327 |
"CheckBoxMenuItem.foreground", new ColorUIResource(darkShadow), |
"CheckBoxMenuItem.foreground", new ColorUIResource(darkShadow), |
328 |
"CheckBoxMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), |
"CheckBoxMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), |
329 |
"CheckBoxMenuItem.selectionBackground", new ColorUIResource(Color.black), |
"CheckBoxMenuItem.selectionBackground", new ColorUIResource(Color.black), |