final Point point = new Point(rectangle.x, rectangle.y + rectangle.height);
SwingUtilities.convertPointToScreen(point, editor);
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
PopupUtil.showPopup(new GoToPopup(" Select LocaleID ", goToItems), " Select LocaleID ", point.x, point.y, true, 0);
}
});
} catch (BadLocationException ex) {
Exceptions.printStackTrace(ex);
}