I wrote a swing application for my clients and some of them are using multiple monitors. Unfortunately that Java Swing application is confused in environment where multiple monitors present and pop up window appear in either first or second window. How can I identify that client has multiple monitors and force application to show up consistently on one monitor?
GraphicsEnvironment.getScreenDevices()
.GraphicsDevice
API.