behaviour --> behavior

This commit is contained in:
Karl Tauber
2021-09-25 18:32:11 +02:00
parent b6be0462a5
commit 1c067d0284
3 changed files with 3 additions and 3 deletions

View File

@@ -165,7 +165,7 @@ public interface FlatClientProperties
* The rule "Button.primary" can be applied to buttons only.
* The rule ".secondary" can be applied to any component.
* <p>
* To have similar behaviour as in CSS, first the rule without type is applied,
* To have similar behavior as in CSS, first the rule without type is applied,
* then the rule with type.
* E.g. setting style class to "foo" on a {@code JButton} uses rules
* from UI default keys "[style].foo" and "[style]Button.foo".

View File

@@ -118,7 +118,7 @@ public class FlatStylingSupport
* The rule "Button.primary" can be applied to buttons only.
* The rule ".secondary" can be applied to any component.
* <p>
* To have similar behaviour as in CSS, this method first gets the rule without type,
* To have similar behavior as in CSS, this method first gets the rule without type,
* then the rule with type and concatenates both rules.
* E.g. invoking this method with parameters styleClass="foo" and type="Button" does following:
* <pre>{@code

View File

@@ -320,7 +320,7 @@ debug*/
// - not opaque and
// - border is not a flat border and
// - opaque was explicitly set (to false)
// (same behaviour as in AquaTextFieldUI)
// (same behavior as in AquaTextFieldUI)
if( !c.isOpaque() && FlatUIUtils.getOutsideFlatBorder( c ) == null && FlatUIUtils.hasOpaqueBeenExplicitlySet( c ) )
return;