Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Run black magic only for JDK5.

  • Loading branch information...
commit 14a9108330df5af973023946ce211983f93d3f0c 1 parent 2ad1688
@ldesgrange ldesgrange authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  uispec4j/src/main/java/org/uispec4j/UISpec4J.java
View
2  uispec4j/src/main/java/org/uispec4j/UISpec4J.java
@@ -25,7 +25,7 @@ public static void init() {
}
// Black magic - do not touch this (system.setProperty seem to load dynamic libraries)
- if ("Linux".equalsIgnoreCase(System.getProperty("os.name"))) {
+ if ("Linux".equalsIgnoreCase(System.getProperty("os.name")) && "1.5".equals(System.getProperty("java.specification.version"))) {
System.setProperty("awt.toolkit", "sun.awt.motif.MToolkit");
}
initToolkit();
Please sign in to comment.
Something went wrong with that request. Please try again.