setInvoker(component); Point p = new Point(x, y); SwingUtilities.convertPointToScreen(p, component); setLocation(p.x, p.y); setVisible(true);
if (component.isShowing()) { setInvoker(component); Point p = new Point(x, y); SwingUtilities.convertPointToScreen(p, component); setLocation(p.x, p.y); setVisible(true); }
  public void show(Component component, int x, int y)  {    setInvoker(component);    Point p = new Point(x, y);    SwingUtilities.convertPointToScreen(p, component);    setLocation(p.x, p.y);    setVisible(true);  }