Hey all, very simple question here..
How in Java can I get a Rectangle object that represents the Desktop coordinates?
In fact just the width and height of the Desktop will do..
I'm just looking for something similar to the following C code
HWND hDesktop;
hDesktop = GetDesktopWindow();
if ( hDesktop != NULL )
{
RECT rcDesktop;
if ( GetWindowRect( hDesktop , &rcDesktop ) )
{
// Do something with rcDesktop
}
}
Thanks,
Jonathon.