Java JPopupMenu getPopupMenu()

Here you can find the source of getPopupMenu()

Description

get Popup Menu

License

GNU General Public License

Declaration

public static JComponent getPopupMenu() 

Method Source Code

//package com.java2s;
/*//from   w w w .j av  a2  s.  c o  m
 * Copyright (C) 2015  University of Oregon
 *
 * You may distribute under the terms of either the GNU General Public
 * License or the Apache License, as specified in the LICENSE file.
 *
 * For more information, see the LICENSE file.
 */

import javax.swing.*;

public class Main {
    private static JComponent popupMenu = null;

    public static JComponent getPopupMenu() {
        return popupMenu;
    }
}

Related

  1. ensurePopupIsOnScreen(JPopupMenu popup)
  2. findMenuComponent(JPopupMenu menu, String menuComponentName)
  3. findSubMenu(JPopupMenu popupMenu, String name)
  4. getMousePopupAdapter(final Component component, final JPopupMenu popup)
  5. getOnlyPopupMenu(Container owner)
  6. getPopupMenuShowPoint(JPopupMenu popup, int x, int y)
  7. insertSeparatorIfNeeded(JPopupMenu popupMenu, int position)
  8. installPopupMenuColorAndFonts(final JComponent contentPane)
  9. isPopupMenuSeparator(Component component)