How to create a popup(menu/window) in the actionPerformed event

Answered

How to create a popup(menu/window) in the actionPerformed event.

3 comments
Comment actions Permalink

I just want to make sure there is built widget or not. Or I need to build this widget from scratch.

0
Comment actions Permalink

Action Group: https://plugins.jetbrains.com/docs/intellij/grouping-action.html

Then show popup via com.intellij.openapi.ui.popup.JBPopupFactory#createActionsStep()

0
Comment actions Permalink

Thank you very much, I will have a try

0

Please sign in to leave a comment.