Is there method in Intellij that can get which screen is active if I'm using more than 1 monitor? Now i'm checking in a bad way like this:
for (Window w : window)
I'm using it to JFrame (it by default display on main monitor). How can I do it correctly and have same behaviour as build-in frames (like new Java Class)?