To reproduce, run any SwingNode application as follows:
$ java -Djdk.gtk.verbose=true -Djdk.gtk.version=3 ... MySwingNodeApp
Loading GTK libraries version 3
trying GTK library set libgtk-3.so.0, libgdk-3.so.0, libgdk_pixbuf-2.0.so.0
using GTK library set libgtk-3.so.0, libgdk-3.so.0, libgdk_pixbuf-2.0.so.0
(java:19742): Gdk-WARNING **: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
$ java -Djdk.gtk.verbose=true -Djdk.gtk.version=3 ... MySwingNodeApp
Loading GTK libraries version 3
trying GTK library set libgtk-3.so.0, libgdk-3.so.0, libgdk_pixbuf-2.0.so.0
using GTK library set libgtk-3.so.0, libgdk-3.so.0, libgdk_pixbuf-2.0.so.0
(java:19742): Gdk-WARNING **: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
- duplicates
-
JDK-8211305 GTK3: warning when running getGraphics methods of BufferedImage
- Closed
- relates to
-
JDK-8198654 Switch FX's default GTK version to 3
- Resolved