This is for #129 and the fix that went into the codebase last year around https://github.com/JFormDesigner/FlatLaf/blob/main/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatTitlePane.java#L624
Running a decorated frame with Java 9 on macOS and clicking the maximize button that comes from FlatLaf makes the window too big. If it's a 2x retina screen (on earlier models of MacBook Pro), the window will be 2x as wide and tall as it should be. Perhaps the fix should only apply on Windows?