void (final JBPopup popup, final RadComponent selectedComponent) { // popup.showUnderneathOf() doesn't work on invisible components Rectangle rc = selectedComponent.getBounds(); Point pnt = new Point(rc.x, rc.y + rc.height); popup.show(new RelativePoint(selectedComponent.getDelegee().getParent(), pnt)); }