Class FlatPopupFactory
java.lang.Object
javax.swing.PopupFactory
com.formdev.flatlaf.ui.FlatPopupFactory
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 -
Method Summary
Methods inherited from class PopupFactory
getPopup, getSharedInstance, setSharedInstance
-
Constructor Details
-
FlatPopupFactory
public FlatPopupFactory()
-
-
Method Details
-
getPopup
public Popup getPopup(Component owner, Component contents, int x, int y) throws IllegalArgumentException - Overrides:
getPopupin classPopupFactory- Throws:
IllegalArgumentException
-