Package com.formdev.flatlaf.ui
Class FlatPopupFactory
- java.lang.Object
-
- javax.swing.PopupFactory
-
- com.formdev.flatlaf.ui.FlatPopupFactory
-
public class FlatPopupFactory extends PopupFactory
A popup factory that adds drop shadows to popups on Windows. On macOS and Linux, heavy weight popups (without drop shadow) are produced and the operating system automatically adds drop shadows.
-
-
Constructor Summary
Constructors Constructor Description FlatPopupFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Popup
getPopup(Component owner, Component contents, int x, int y)
-
Methods inherited from class javax.swing.PopupFactory
getPopup, getSharedInstance, setSharedInstance
-
-
-
-
Method Detail
-
getPopup
public Popup getPopup(Component owner, Component contents, int x, int y) throws IllegalArgumentException
- Overrides:
getPopup
in classPopupFactory
- Throws:
IllegalArgumentException
-
-