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