Compare commits

...

5 Commits
3.2.3 ... 3.2.5

4 changed files with 22 additions and 3 deletions

View File

@@ -1,6 +1,22 @@
FlatLaf Change Log FlatLaf Change Log
================== ==================
## 3.2.5
#### Fixed bugs
- Popup: Fixed NPE if popup invoker is `null` on Windows 10. (issue #753;
regression in 3.2.1 in fix for #626)
## 3.2.4
#### Fixed bugs
- Popup: Fixed NPE if popup invoker is `null` on Linux with Wayland and Java 21.
(issue #752; regression in 3.2.3)
## 3.2.3 ## 3.2.3
#### Fixed bugs #### Fixed bugs

View File

@@ -1,5 +1,5 @@
#Signature file v4.1 #Signature file v4.1
#Version 3.2.3 #Version 3.2.4
CLSS public abstract interface com.formdev.flatlaf.FlatClientProperties CLSS public abstract interface com.formdev.flatlaf.FlatClientProperties
fld public final static java.lang.String BUTTON_TYPE = "JButton.buttonType" fld public final static java.lang.String BUTTON_TYPE = "JButton.buttonType"

View File

@@ -397,6 +397,9 @@ public class FlatPopupFactory
} }
private static boolean overlapsHeavyWeightComponent( Component owner, Component contents, int x, int y ) { private static boolean overlapsHeavyWeightComponent( Component owner, Component contents, int x, int y ) {
if( owner == null )
return false;
Window window = SwingUtilities.getWindowAncestor( owner ); Window window = SwingUtilities.getWindowAncestor( owner );
if( window == null ) if( window == null )
return false; return false;
@@ -438,7 +441,7 @@ public class FlatPopupFactory
*/ */
private static void fixLinuxWaylandJava21focusIssue( Component owner ) { private static void fixLinuxWaylandJava21focusIssue( Component owner ) {
// only necessary on Linux when running in Java 21+ // only necessary on Linux when running in Java 21+
if( !SystemInfo.isLinux || SystemInfo.javaVersion < SystemInfo.toVersion( 21, 0, 0, 0 ) ) if( owner == null || !SystemInfo.isLinux || SystemInfo.javaVersion < SystemInfo.toVersion( 21, 0, 0, 0 ) )
return; return;
// get window // get window

View File

@@ -14,7 +14,7 @@
# limitations under the License. # limitations under the License.
# #
flatlaf.releaseVersion = 3.2.3 flatlaf.releaseVersion = 3.2.5
flatlaf.developmentVersion = 3.3-SNAPSHOT flatlaf.developmentVersion = 3.3-SNAPSHOT
org.gradle.parallel = true org.gradle.parallel = true