Class OSXUtil


  • public class OSXUtil
    extends Object
    A class with OSX-specific functions to improve integration.
    • Constructor Detail

      • OSXUtil

        public OSXUtil()
    • Method Detail

      • tryEnableFullscreen

        public static void tryEnableFullscreen​(JFrame gui)
        Enables the osx native fullscreen if running on a Mac.
        Parameters:
        gui - The gui to enable the fullscreen on.
      • requestUserAttention

        public static void requestUserAttention()
        Request user attention on macOS
      • requestForeground

        public static void requestForeground()
        Requests the foreground in a macOS friendly way.