Skip to main content

Screen WorkingArea

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
Pacerier
Offline
Joined: 2011-11-09

Hi all, how do I get the screen's workingarea (i.e excluding taskbars, docked windows, and docked toolbars).

java.awt.Toolkit.getDefaultToolkit.getScreenSize() seems to give me the "entire" screen.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
anthony_p
Offline
Joined: 2006-07-24

Please see java.awt.Toolkit.getScreenInsets() method for details.