| Package | Description | 
|---|---|
| javax.swing | Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. | 
| javax.swing.plaf | Provides one interface and many abstract classes that
Swing uses to provide its pluggable look-and-feel capabilities. | 
| javax.swing.plaf.multi | Provides user interface objects that combine two or more look and feels. | 
| Modifier and Type | Method and Description | 
|---|---|
| Popup | PopupFactory. getPopup(Component owner,
        Component contents,
        int x,
        int y)Creates a  Popupfor the Componentownercontaining the Componentcontents. | 
| Modifier and Type | Method and Description | 
|---|---|
| Popup | PopupMenuUI. getPopup(JPopupMenu popup,
        int x,
        int y)Returns the  Popupthat will be responsible for
 displaying theJPopupMenu. | 
| Modifier and Type | Method and Description | 
|---|---|
| Popup | MultiPopupMenuUI. getPopup(JPopupMenu a,
        int b,
        int c)Invokes the  getPopupmethod on each UI handled by this object. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.