Package net.runelite.client.util
Class MacOSPopupFactory
- java.lang.Object
-
- javax.swing.PopupFactory
-
- net.runelite.client.util.MacOSPopupFactory
-
public class MacOSPopupFactory extends PopupFactory
Popup factory for Java 11 which forces heavyweight popups. Lightweight popups do not render correctly over AWT canvases on OSX.
-
-
Constructor Summary
Constructors Constructor Description MacOSPopupFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Popup
getPopup(Component owner, Component contents, int x, int y, boolean isHeavyWeightPopup)
-
Methods inherited from class javax.swing.PopupFactory
getPopup, getSharedInstance, setSharedInstance
-
-
-
-
Method Detail
-
getPopup
protected Popup getPopup(Component owner, Component contents, int x, int y, boolean isHeavyWeightPopup) throws IllegalArgumentException
- Overrides:
getPopup
in classPopupFactory
- Throws:
IllegalArgumentException
-
-