Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion mae/sss/SSS.java
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ public class SSS extends JFrame {
public static final String
SSS_date = "Mar 2018 ", SSS_version = "V2.10",
JAVA_version = System.getProperty("java.version");
public static boolean JAVA9 = JAVA_version.compareTo("9")>=0;
public static boolean JAVA9; // Is Java version 9 or higher ?
static {
String a = JAVA_version.split("\\.")[0];
JAVA9 = Integer.valueOf(a).compareTo(9) >= 0;
}
public static final String
PREFS = JAVA9 && Scaler.HIGH_DPI? "mae-sss" : "mae",
title = "Small Simple Safe";
Expand Down