How to get IDEA main window?

I need to add listiner to IDEA main window, so I wonder, how I can get it

0
1 comment
Avatar
Permanently deleted user

I solved the problem.

Here is the piece of code fot that

Window window=  WindowManager.getInstance().getFrame(DataKeys.PROJECT.getData(actionEvent.getDataContext()));

0

Please sign in to leave a comment.