Removed checked expections (now they are unchecked). Added better detection of JavaFX.
This commit is contained in:
parent
c8517f65e7
commit
e38071475a
@ -66,6 +66,10 @@ class GtkSupport {
|
|||||||
boolean shouldUseGtk2 = GtkSupport.FORCE_GTK2 || JAVAFX_COMPATIBILITY_MODE;
|
boolean shouldUseGtk2 = GtkSupport.FORCE_GTK2 || JAVAFX_COMPATIBILITY_MODE;
|
||||||
alreadyRunningGTK = JAVAFX_COMPATIBILITY_MODE;
|
alreadyRunningGTK = JAVAFX_COMPATIBILITY_MODE;
|
||||||
|
|
||||||
|
|
||||||
|
// for more info on JavaFX: https://docs.oracle.com/javafx/2/system_requirements_2-2-3/jfxpub-system_requirements_2-2-3.htm
|
||||||
|
// from the page: JavaFX 2.2.3 for Linux requires gtk2 2.18+.
|
||||||
|
|
||||||
// in some cases, we ALWAYS want to try GTK2 first
|
// in some cases, we ALWAYS want to try GTK2 first
|
||||||
if (shouldUseGtk2) {
|
if (shouldUseGtk2) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user