JPopupMenu弹出式菜单需要通过调用add()方法添加JMenuItem菜单项,但它默认是不可见的,如果想要显示出来,则必须调用它的 ()方法。
show(Component invoker,int x,int y)