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



What is the proper (cross-platform safe) way to get the *available* screen size for a full-screen window?

The toolkit getScreenSize() method returns the full screen resolution on OS X, whereas the actual available height for a full-screen frame is about 22 pixels less than that, due to the menubar. Do I need to make a JDirect or JNI call if my app is running on a Mac, or is there a simple Java method or system property I can use?

Thanks,
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.