Java get MAXIMIZED state window size
问题 I am developing a multi platform game and I wanted to make a full-screen non bordered window and this is where I got into a problem for LINUX operating system. For WINDOWS system I was using Toolkit.getDefaultToolkit().getScreenSize() method to get complete SCREEN SIZE and it worked fine, but for LINUX my screen was a bit wider and higher due to LINUX BARS. *SOLUTION in my answer bellow 回答1: You could have a look at Full-Screen Exclusive Mode API. This will give your program full access to