mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 23:07:15 -06:00
Styling: comment fixes
This commit is contained in:
@@ -263,7 +263,7 @@ public class FlatButtonUI
|
|||||||
case STYLE_CLASS:
|
case STYLE_CLASS:
|
||||||
if( shared && FlatStylingSupport.hasStyleProperty( b ) ) {
|
if( shared && FlatStylingSupport.hasStyleProperty( b ) ) {
|
||||||
// unshare component UI if necessary
|
// unshare component UI if necessary
|
||||||
// updateUI() invokes applyStyle() from installUI()
|
// updateUI() invokes installStyle() from installUI()
|
||||||
b.updateUI();
|
b.updateUI();
|
||||||
} else
|
} else
|
||||||
installStyle( b );
|
installStyle( b );
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ public class FlatLabelUI
|
|||||||
JLabel label = (JLabel) e.getSource();
|
JLabel label = (JLabel) e.getSource();
|
||||||
if( shared && FlatStylingSupport.hasStyleProperty( label ) ) {
|
if( shared && FlatStylingSupport.hasStyleProperty( label ) ) {
|
||||||
// unshare component UI if necessary
|
// unshare component UI if necessary
|
||||||
// updateUI() invokes applyStyle() from installUI()
|
// updateUI() invokes installStyle() from installUI()
|
||||||
label.updateUI();
|
label.updateUI();
|
||||||
} else
|
} else
|
||||||
installStyle( label );
|
installStyle( label );
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ public class FlatRadioButtonUI
|
|||||||
case FlatClientProperties.STYLE_CLASS:
|
case FlatClientProperties.STYLE_CLASS:
|
||||||
if( shared && FlatStylingSupport.hasStyleProperty( b ) ) {
|
if( shared && FlatStylingSupport.hasStyleProperty( b ) ) {
|
||||||
// unshare component UI if necessary
|
// unshare component UI if necessary
|
||||||
// updateUI() invokes applyStyle() from installUI()
|
// updateUI() invokes installStyle() from installUI()
|
||||||
b.updateUI();
|
b.updateUI();
|
||||||
} else
|
} else
|
||||||
installStyle( b );
|
installStyle( b );
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ public class FlatSeparatorUI
|
|||||||
private void stylePropertyChange( JSeparator s ) {
|
private void stylePropertyChange( JSeparator s ) {
|
||||||
if( shared && FlatStylingSupport.hasStyleProperty( s ) ) {
|
if( shared && FlatStylingSupport.hasStyleProperty( s ) ) {
|
||||||
// unshare component UI if necessary
|
// unshare component UI if necessary
|
||||||
// updateUI() invokes applyStyle() from installUI()
|
// updateUI() invokes installStyle() from installUI()
|
||||||
s.updateUI();
|
s.updateUI();
|
||||||
} else
|
} else
|
||||||
installStyle( s );
|
installStyle( s );
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ public class FlatToolBarSeparatorUI
|
|||||||
private void stylePropertyChange( JSeparator s ) {
|
private void stylePropertyChange( JSeparator s ) {
|
||||||
if( shared && FlatStylingSupport.hasStyleProperty( s ) ) {
|
if( shared && FlatStylingSupport.hasStyleProperty( s ) ) {
|
||||||
// unshare component UI if necessary
|
// unshare component UI if necessary
|
||||||
// updateUI() invokes applyStyle() from installUI()
|
// updateUI() invokes installStyle() from installUI()
|
||||||
s.updateUI();
|
s.updateUI();
|
||||||
} else
|
} else
|
||||||
installStyle( s );
|
installStyle( s );
|
||||||
|
|||||||
Reference in New Issue
Block a user