15341535153615371538153915401541154215431544
// show the popup where the source component is if (e.getSource() instanceof Component) { Component comp = (Component) e.getSource(); popup.show(comp, comp.getX(), comp.getY()); popup.pack(); popup.repaint(); } } }); return setButton;
14971498149915001501150215031504150515061507
726727728729730731732733734735736
BasicUtilities.invokeLaterOnEDT(new Runnable() { @Override public void run() { SwingUtilities.updateComponentTreeUI(bar); bar.revalidate(); bar.repaint(); } }); } else { INSTANCE.generatedPopupMenus.remove(p); }
15371538153915401541154215431544154515461547