Java setFullScreenWindow() keep on top
问题 I'm writing an application that is intended to be run on a dual monitor setup, with a "Display" JFrame going fullscreen on one monitor and a "Control" JFrame on the other monitor, sending instructions to the Display. I've tried two separate methods of setting the Display fullscreen; the success of each seems to depend on the OS. display.setUndecorated(true); display.setExtendedState(JFrame.MAXIMIZED_BOTH); Works in Windows, but the JFrame gets hidden under the dock/panels in OS X and Linux.