Package net.runelite.client.util
Class OSXUtil
- java.lang.Object
-
- net.runelite.client.util.OSXUtil
-
public class OSXUtil extends Object
A class with OSX-specific functions to improve integration.
-
-
Constructor Summary
Constructors Constructor Description OSXUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
requestForeground()
Requests the foreground in a macOS friendly way.static void
requestUserAttention()
Request user attention on macOSstatic void
tryEnableFullscreen(JFrame gui)
Enables the osx native fullscreen if running on a Mac.
-
-
-
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.
-
-