SwingUtilities.convertPointToScreen(point, editor);
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
String title = "Go To Action"; // NOI18N
PopupUtil.showPopup(new GoToPopup(title, items), title, point.x, point.y, true, 0);
}
});
} catch (BadLocationException ex) {
Exceptions.printStackTrace(ex);
}