+
+ /**
+ * Set taskbar "grouped windows" name for linux desktops (works in GNOME and KDE).
+ * This uses sun.awt.X11.XToolkit.awtAppClassName which is not officially documented or
+ * guaranteed to exist, so we access it via reflection.
+ * There appear to be unfathomable criteria about what this string can contain, and it if doesn't
+ * meet those criteria then "java" (KDE) or "jalview-bin-Jalview" (GNOME) is used.
+ * "Jalview", "Jalview Develop" and "Jalview Test" seem okay, but "Jalview non-release" does not.
+ * The reflection access may generate a warning:
+ * WARNING: An illegal reflective access operation has occurred
+ * WARNING: Illegal reflective access by jalview.gui.Desktop () to field sun.awt.X11.XToolkit.awtAppClassName
+ * which I don't think can be avoided.
+ */
+ if (Platform.isLinux())