Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Screen Size Question



[Sorry if I posted this twice. Having trouble with email today.]

What is the proper (cross-platform safe) way to get the *available* screen size, for creating a full-screen window? (Alternately, a method that returns the menubar height would also suffice.)

The Toolkit method getScreenSize() returns the screen dimensions, which on the Mac makes the Frame to tall, due to the menu bar. My preference would be a Java method or system property (neither of which I can find), but I would be willing to make a JDirect or JNI call if someone can point me in the right direction for doing this.

Thank You,
Rob
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.