コード例 #1
0
  private static void setLocation(
      final RelativePoint p, final PopupComponent popup, Component content) {
    if (popup == null) return;

    final Window wnd = popup.getWindow();
    assert wnd != null;

    wnd.setLocation(p.getScreenPoint());
  }
コード例 #2
0
 private Window getPopupWindow() {
   return myPopup.getWindow();
 }