From 2c8206939dd208b7f3c228214ae434d966d19940 Mon Sep 17 00:00:00 2001 From: hansonr Date: Mon, 4 Feb 2019 08:49:55 -0600 Subject: [PATCH] explicitly sets MIG platform defaults to WINDOWS_XP --- srcjar/net/miginfocom/layout/PlatformDefaults.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcjar/net/miginfocom/layout/PlatformDefaults.java b/srcjar/net/miginfocom/layout/PlatformDefaults.java index e1b72c4..0e422db 100644 --- a/srcjar/net/miginfocom/layout/PlatformDefaults.java +++ b/srcjar/net/miginfocom/layout/PlatformDefaults.java @@ -153,6 +153,8 @@ public final class PlatformDefaults */ public static int getCurrentPlatform() { + if (/** @j2sNative true ||*/false) + return WINDOWS_XP; final String os = System.getProperty("os.name"); if (os.startsWith("Mac OS")) { return MAC_OSX; -- 1.7.10.2