In BasicMenuItemUI we were (sometimes) painting the background of
menuitems with the wrong color and sometimes it shouldn't be painted at
all (making the underlying menu shine through). This is fixed with the
attached patch.
Interesting sidenote, Sun's impl doesn't seem to give
Can you send the patch for this?
On Mon, 2005-12-19 at 16:05 +0100, Roman Kennke wrote:
My previous optimization for JComponent painting exposed a bug in
BasicMenuItemUI which causes MenuItems to be rendered badly. This is
fixed by this patch.
2005-12-19 Roman Kennke [EMAIL PROTECTED]
My previous optimization for JComponent painting exposed a bug in
BasicMenuItemUI which causes MenuItems to be rendered badly. This is
fixed by this patch.
2005-12-19 Roman Kennke [EMAIL PROTECTED]
* javax/swing/plaf/basic/BasicMenuItemUI.java
(paintBackground): Also fill