JCheckBoxMenuItem looks weird

From: Daniel Stankiewicz (dryna_at_wp.pl)
Date: 01/25/05


Date: Tue, 25 Jan 2005 15:55:43 +0100

Hi!

I use Windows Look & Feel and have a problem with JCheckBoxMenuItem.
When it's disabled it looks very wrong for two reasons:

1. Fonts used for displaying menu item name and key accelerator are
exchanged. I mean the stamped font used in JMenuItem for displaying name
is used in JCheckBoxMenuItem for displaying accelerator key. And vice
versa - font used in JMenuItem for displaying accelerator key is used in
JCheckBoxMenuItem for displaying name. It looks very weird.

2. Check mark (tick) is not grayed or stamped when JCheckBoxMenuItem is
disabled.

Does anybody know how to fix this????

Daniel



Relevant Pages

  • Re: Bullet weirdness
    ... parts after looking into the bullets). ... I'm still stumped as to why my simple document is displaying different ... only the two computers. ... I think opened Font Book and both computers have Cambria ...
    (microsoft.public.mac.office.word)
  • Re: How many chars can be displayed in a label?
    ... are used for displaying altering text, with a font of Tahoma and a Font ... If each label has the same dimensions, ... I can calculate the number of characters that will be displayed within ...
    (microsoft.public.access.formscoding)
  • Re: writing aids
    ... :> rulers to distinct y-axis properties of your font. ... What does this have have to do with the suggested mechanics of displaying ... Metafont-drawn lines are direct translations of the design parameters, ...
    (comp.text.tex)
  • non-ascii characters in Gtk+
    ... When I try to use a Gtk+2 app such as Gaim boxes with numbers inside ... The first one is a ttf font. ... displaying cyrillic characters as boxes with numbers inside. ...
    (comp.os.linux.x)
  • Re: Commodore 128 Game Coding Competition 2006
    ... 1px font or a bitmap. ... If the values are not equal, YOU may be displaying ... intercharacter spacings which is disabling your video. ... Where is it limiting the number of clock cycles per raster line? ...
    (comp.sys.cbm)