It seems that the issue might be related to how the JFrame is being positioned in a dual-screen setup. When you run your code on a system with a single screen, it works fine, but on a dual-screen...