|
|
|
@ -280,8 +280,8 @@ public class UIButton extends JButton implements UIObserver, UITextComponent {
|
|
|
|
|
*/ |
|
|
|
|
public void setNormalPainted(boolean isNormalPressed) { |
|
|
|
|
this.isNormalPainted = isNormalPressed; |
|
|
|
|
boolean isPrimary = FineClientProperties.hasStyle(this, FineClientProperties.STYLE_PRIMARY); |
|
|
|
|
if (!isNormalPainted() && !isPrimary) { |
|
|
|
|
boolean primary = FineClientProperties.hasStyle(this, FineClientProperties.STYLE_PRIMARY); |
|
|
|
|
if (!isNormalPainted() && !primary) { |
|
|
|
|
setOpaque(false); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|