[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Button fix
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: Button fix |
Date: |
Tue, 25 Oct 2005 19:58:48 +0000 |
HI,
I fixed a little issue in the button UIs. They used to fill the
background for pressed buttons even if they are opaque. This is of
course wrong.
2005-10-25 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicButtonUI.java
(installDefaults): Removed initialization of unnecessary
focusColor
field.
(paintButtonPressed): Only paint if button is opaque.
* javax/swing/plaf/metal/MetalButtonUI.java
(paintButtonPressed): Only paint if button is opaque and
contentAreaFilled.
/Roman
swing-button-fix.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: Button fix,
Roman Kennke <=