Jdk 1.4 also has a method to get the work area of the screen.

> 
> Another idea:  In Java 1.4, you can use the new method 
> JFrame.getExtendedState() to check whether IDEA is maximized. 
>  If it is, 
> you know that it covers everything except the task bar, regardless of 
> the size of the task bar and where it happens to be 
> (top/bottom/side), 
> so you just check the frame's bounds and make sure everything 
> is within 
> those bounds.  Of course, this doesn't work when IDEA isn't 
> maximized.  
> You could work around that by creating a dummy frame that you 
> maximize 
> using setExtendedState(), but that would be ugly...
> 


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to