Eugene Belyaev wrote:

 > Any clue on how to check for the height?

I guess the only reliable way would be adding some more native code.

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