Styling: comment fixes

This commit is contained in:
Karl Tauber
2021-11-30 18:37:03 +01:00
parent db2452a4ec
commit 428c6b7813
5 changed files with 5 additions and 5 deletions

View File

@@ -263,7 +263,7 @@ public class FlatButtonUI
case STYLE_CLASS:
if( shared && FlatStylingSupport.hasStyleProperty( b ) ) {
// unshare component UI if necessary
// updateUI() invokes applyStyle() from installUI()
// updateUI() invokes installStyle() from installUI()
b.updateUI();
} else
installStyle( b );

View File

@@ -122,7 +122,7 @@ public class FlatLabelUI
JLabel label = (JLabel) e.getSource();
if( shared && FlatStylingSupport.hasStyleProperty( label ) ) {
// unshare component UI if necessary
// updateUI() invokes applyStyle() from installUI()
// updateUI() invokes installStyle() from installUI()
label.updateUI();
} else
installStyle( label );

View File

@@ -139,7 +139,7 @@ public class FlatRadioButtonUI
case FlatClientProperties.STYLE_CLASS:
if( shared && FlatStylingSupport.hasStyleProperty( b ) ) {
// unshare component UI if necessary
// updateUI() invokes applyStyle() from installUI()
// updateUI() invokes installStyle() from installUI()
b.updateUI();
} else
installStyle( b );

View File

@@ -125,7 +125,7 @@ public class FlatSeparatorUI
private void stylePropertyChange( JSeparator s ) {
if( shared && FlatStylingSupport.hasStyleProperty( s ) ) {
// unshare component UI if necessary
// updateUI() invokes applyStyle() from installUI()
// updateUI() invokes installStyle() from installUI()
s.updateUI();
} else
installStyle( s );

View File

@@ -121,7 +121,7 @@ public class FlatToolBarSeparatorUI
private void stylePropertyChange( JSeparator s ) {
if( shared && FlatStylingSupport.hasStyleProperty( s ) ) {
// unshare component UI if necessary
// updateUI() invokes applyStyle() from installUI()
// updateUI() invokes installStyle() from installUI()
s.updateUI();
} else
installStyle( s );