Getting the usable screen area from java

A while ago I declared that I was going to post regular updates on my work with Lux. So far I have failed miserably at that. I am going to try again starting now.

Yesterday I changed some code for the Windows version so that I check the usable screen real estate when opening windows, rather than just the screen size. This way things don't overlap the start menu/taskbar (even if it's on the side or top of the screen).

The required java call is the the highly intuative (or not)

Rectangle usableRect = GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds();

Posted by dustin on July 8, 2004 with category tags of

1 comment
HOW DO YOU ADD SOMTHING TO THE TASKBAR?
PLEASE HELP ME OUT
   comment by ADRI on April 3, 2005

   

VorgTag Cloud

Written by dustin
Latest Photo
Quote of Now:
Friends
Popular Posts
Computer Games

Hey You! Subscribe to dustin's RSS feed.
Or get wider opinion in the Vorg All Author feed.

 
 

Members login here.
© Vorg Group.