Method getInvoker()
Return type:
java.awt.Component
Member of:
javax.swing.JPopupMenu
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
Window w = SwingUtilities.windowForComponent (popup.getInvoker());
2
Component invoker = popupMenu.getInvoker();
3
Object invoker = selectorMenu.getInvoker();
4
.getInvoker();
5
.getInvoker();
6
if (getInvoker() != null && !(getInvoker() instanceof JMenu)) {
7
JMenu menu = (JMenu)parentMenu.getInvoker();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.