diff --git a/flatlaf-core/src/main/java/com/formdev/flatlaf/FlatClientProperties.java b/flatlaf-core/src/main/java/com/formdev/flatlaf/FlatClientProperties.java index bfd0f150..75ffcd2d 100644 --- a/flatlaf-core/src/main/java/com/formdev/flatlaf/FlatClientProperties.java +++ b/flatlaf-core/src/main/java/com/formdev/flatlaf/FlatClientProperties.java @@ -461,7 +461,7 @@ public interface FlatClientProperties * {@link FlatSystemProperties#USE_WINDOW_DECORATIONS}, but higher priority * than UI default {@code TitlePane.useWindowDecorations}. *
- * (requires Window 10) + * (requires Windows 10/11) *
* Component {@link javax.swing.JRootPane}
* Value type {@link java.lang.Boolean}
@@ -481,7 +481,7 @@ public interface FlatClientProperties
* {@link FlatSystemProperties#MENUBAR_EMBEDDED}, but higher priority
* than UI default {@code TitlePane.menuBarEmbedded}.
*
- * (requires Window 10) + * (requires Windows 10/11) *
* Component {@link javax.swing.JRootPane}
* Value type {@link java.lang.Boolean}
@@ -507,6 +507,8 @@ public interface FlatClientProperties
* The user can left-click-and-drag on the title bar area to move the window,
* except when clicking on a component that processes mouse events (e.g. buttons or menus).
*
+ * (requires Windows 10/11) + *
* Component {@link javax.swing.JRootPane}
* Value type {@link java.lang.Boolean}
*
@@ -537,7 +539,7 @@ public interface FlatClientProperties
*
* This client property has higher priority than UI default {@code TitlePane.showIcon}. *
- * (requires Window 10) + * (requires Windows 10/11) *
* Component {@link javax.swing.JRootPane}
* Value type {@link java.lang.Boolean}
@@ -553,6 +555,8 @@ public interface FlatClientProperties
* Setting this shows/hides the windows title
* for the {@code JFrame} or {@code JDialog} that contains the root pane.
*
+ * (requires Windows 10/11) + *
* Component {@link javax.swing.JRootPane}
* Value type {@link java.lang.Boolean}
*
@@ -567,6 +571,8 @@ public interface FlatClientProperties
* Setting this shows/hides the "iconify" button
* for the {@code JFrame} that contains the root pane.
*
+ * (requires Windows 10/11) + *
* Component {@link javax.swing.JRootPane}
* Value type {@link java.lang.Boolean}
*
@@ -581,6 +587,8 @@ public interface FlatClientProperties
* Setting this shows/hides the "maximize/restore" button
* for the {@code JFrame} that contains the root pane.
*
+ * (requires Windows 10/11) + *
* Component {@link javax.swing.JRootPane}
* Value type {@link java.lang.Boolean}
*
@@ -595,6 +603,8 @@ public interface FlatClientProperties
* Setting this shows/hides the "close" button
* for the {@code JFrame} or {@code JDialog} that contains the root pane.
*
+ * (requires Windows 10/11) + *
* Component {@link javax.swing.JRootPane}
* Value type {@link java.lang.Boolean}
*
@@ -605,7 +615,7 @@ public interface FlatClientProperties
/**
* Background color of window title bar (requires enabled window decorations).
*
- * (requires Window 10) + * (requires Windows 10/11) *
* Component {@link javax.swing.JRootPane}
* Value type {@link java.awt.Color}
@@ -617,7 +627,7 @@ public interface FlatClientProperties
/**
* Foreground color of window title bar (requires enabled window decorations).
*
- * (requires Window 10) + * (requires Windows 10/11) *
* Component {@link javax.swing.JRootPane}
* Value type {@link java.awt.Color}
@@ -642,6 +652,8 @@ public interface FlatClientProperties
* Specifies whether the glass pane should have full height and overlap the title bar,
* if FlatLaf window decorations are enabled. Default is {@code false}.
*
+ * (requires Windows 10/11) + *
* Component {@link javax.swing.JRootPane}
* Value type {@link java.lang.Boolean}
*
diff --git a/flatlaf-core/src/main/java/com/formdev/flatlaf/FlatSystemProperties.java b/flatlaf-core/src/main/java/com/formdev/flatlaf/FlatSystemProperties.java
index b43082a4..c3fa3fd4 100644
--- a/flatlaf-core/src/main/java/com/formdev/flatlaf/FlatSystemProperties.java
+++ b/flatlaf-core/src/main/java/com/formdev/flatlaf/FlatSystemProperties.java
@@ -82,7 +82,7 @@ public interface FlatSystemProperties
* {@link FlatClientProperties#USE_WINDOW_DECORATIONS} and
* UI default {@code TitlePane.useWindowDecorations}.
*
- * (requires Window 10/11) + * (requires Windows 10/11) *
* Allowed Values {@code false} and {@code true}
* Default none
@@ -99,7 +99,7 @@ public interface FlatSystemProperties
* Setting this to {@code false} disables using JetBrains Runtime custom window decorations.
* Then FlatLaf native window decorations are used.
*
- * (requires Window 10/11) + * (requires Windows 10/11) *
* Allowed Values {@code false} and {@code true}
* Default {@code false} (since v2; was {@code true} in v1)
@@ -120,7 +120,7 @@ public interface FlatSystemProperties
* {@link FlatClientProperties#MENU_BAR_EMBEDDED} and
* UI default {@code TitlePane.menuBarEmbedded}.
*
- * (requires Window 10/11) + * (requires Windows 10/11) *
* Allowed Values {@code false} and {@code true}
* Default none
@@ -142,6 +142,7 @@ public interface FlatSystemProperties
*
* Allowed Values {@code false} and {@code true}
* Default {@code true}; except on macOS 14.4+ where it is {@code false}
+ *
* @since 3.5.2
*/
String USE_ROUNDED_POPUP_BORDER = "flatlaf.useRoundedPopupBorder";
@@ -220,6 +221,7 @@ public interface FlatSystemProperties
*
* Allowed Values {@code false} and {@code true}
* Default {@code true}
+ *
* @since 3.5.1
*/
String USE_SUB_MENU_SAFE_TRIANGLE = "flatlaf.useSubMenuSafeTriangle";