Native window decorations: fixed missing animations when minimizing, maximizing or restoring a window using window title bar buttons (issue #282)

This commit is contained in:
Karl Tauber
2021-03-24 23:59:59 +01:00
parent de6e5bd800
commit 8a6a0c7971
8 changed files with 68 additions and 6 deletions

View File

@@ -153,6 +153,10 @@ public class FlatNativeWindowBorderTest
}
} );
window.addWindowStateListener( e -> {
System.out.println( windowId + " windowStateChanged " + e.getOldState() + " --> " + e.getNewState() );
} );
registerSwitchToLookAndFeel( "F1", FlatLightLaf.class.getName() );
registerSwitchToLookAndFeel( "F2", FlatDarkLaf.class.getName() );
registerSwitchToLookAndFeel( "F3", FlatIntelliJLaf.class.getName() );