Created
June 4, 2019 02:46
-
-
Save tresf/c7a8fe6333174fecbb140f33d8d2edba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (Toolkit.getDefaultToolkit() instanceof UNIXToolkit) { | |
int version = UNIXToolkit.getGtkVersion().getNumber(); | |
System.out.println("Gtk version detected: " + version); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment