Java Swing Mouse removePopup(JComponent mouseEvtComp)

Here you can find the source of removePopup(JComponent mouseEvtComp)

Description

unregisters a component from listen to mouse events for the popupMenu

License

Open Source License

Declaration

public static void removePopup(JComponent mouseEvtComp) 

Method Source Code

//package com.java2s;
// The JavaPOS Config/Loader (aka JCL) is now under the CPL license, which 

import javax.swing.*;
import java.util.*;

public class Main {
    static Dictionary dictionary = new Hashtable();

    /**// www .  j  a  v a 2  s  . c  om
     * unregisters a component from listen to mouse events for the popupMenu
     * @since 1.3 (SF 2K meeting)
     */
    public static void removePopup(JComponent mouseEvtComp) {
        dictionary.remove(mouseEvtComp);
    }
}

Related

  1. paintBandTitle(Graphics g, Rectangle titleRectangle, String title, boolean isUnderMouse, boolean hasExpandIcon)
  2. parentMouseEvent(JComponent c, MouseEvent m)
  3. passBehind(MouseEvent e)
  4. propagate(MouseEvent e, Component c)
  5. removeMouseListenerToHierarchy(JComponent c, MouseListener listener)
  6. retargetMouseEvent(int id, MouseEvent e, Component target)
  7. retargetMouseEvent(int id, MouseEvent e, Component target)
  8. retargetMouseEvent(MouseEvent e, Component target)
  9. rowAtPoint(MouseEvent mouseEvent)