I work on a java application. Now if I run the application on my main screen and drag it to the extended screen , the application will run on the extended screen but any popups (error msg popups or option popups ) come on the main screen.
I basically want the application and the popups to come on the same screen whether I am running the application on the main screen or I have dragged it to the extended screen.
How do I get the optionpane popups to appear on the extended screen if the application is being dragged to the extended screen.
I have tried Show JFrame in a specific screen in dual monitor configuration but the popups still come on the wrong screen.