Application turns black when dragged from a 4k monitor to a FullHD monitor
问题 My notebook has a 4k display. My external monitor is 1920. When I drag my Java Swing app window from the 4k display onto the external monitor it gets completely black except for the window frame. It doesn't matter whether I maximize it on the external monitor or not. Here is the HelloWorldSwing example I got from Oracle.com. It shows the exact same behaviour. import javax.swing.*; public class HelloWorldSwing { /** * Create the GUI and show it. For thread safety, * this method should be