Closed 823984418 closed 2 years ago
That's true. That code is no longer used since the introduction of the native window decorations where this is handled by Windows.
It is used if FlatLaf native window decorations are disabled and custom decorations are enabled (not recommended):
System.setProperty( "flatlaf.useWindowDecorations", "false" );
JFrame.setDefaultLookAndFeelDecorated( true );
Double-click on icon closes window doesn't seem to be through calls
com.formdev.flatlaf.ui.FlatTitlePane.Handler#mouseClicked
? The breakpoint did not hit the method,TimedWindowEvent
(id=WINDOW_CLOSING) is directly constructed.