Here you can find the source of removePopup(JComponent mouseEvtComp)
public static void removePopup(JComponent mouseEvtComp)
//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); } }