Class FlatPopupFactory


  • public class FlatPopupFactory
    extends javax.swing.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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.swing.Popup getPopup​(java.awt.Component owner, java.awt.Component contents, int x, int y)  
      • Methods inherited from class javax.swing.PopupFactory

        getPopup, getSharedInstance, setSharedInstance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FlatPopupFactory

        public FlatPopupFactory()
    • Method Detail

      • getPopup

        public javax.swing.Popup getPopup​(java.awt.Component owner,
                                          java.awt.Component contents,
                                          int x,
                                          int y)
                                   throws java.lang.IllegalArgumentException
        Overrides:
        getPopup in class javax.swing.PopupFactory
        Throws:
        java.lang.IllegalArgumentException