GrahicsDevice and JOptionPane Issue
问题 When I click the button, the application which is set to full screen will go to taskbar/minimized, so I need to click it first in the taskbar before seeing the JOptionPane that I triggered. What do you think is the problem with this? I'd like it to run smoothly without being minimized or going to taskbar. public static void main(String[] args) { final JFrame frame = new JFrame(); frame.setTitle("Sample"); GraphicsDevice device = GraphicsEnvironment.getLocalGraphicsEnvironment()