This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Right now Editor contains many methods to call popup menu, but it doesn't have method, that allow to open popup menu on current line.
Why do you need such functionality? You can call popup menu for a particular piece of text in the Editor, if you select that text before. For example: editor.select(lineNumber); editor.pushPopupMenu(menuPath);
I know that I can do it by way you suggest. But such way, popupMenu is called on center of window, and it may confuse user, for example, when call "Show code in Servlet" contextual-menu item.
I have no idea how to calculate position of popup menu from line number. Besides that EditorOperator was rewritten in version 2.0 of jellytools library and pushPopupMenu methods was removed from all operators. Now the only recommended way how to call popup it is to create Action. So I am closing this issue as wontfix.