Setting fullscreen using other ways besides getting screen size in Java

别来无恙 提交于 2019-12-02 13:27:37

You're after what's called "full-screen exclusive mode"

Have a look at Full-Screen Exclusive Mode for more details.

Understand though, it doesn't play well with Swing.

Under Mac OS X 10.7, you can access the full screen support it provides for applications using com.apple.eawt.Application.requestToggleFullScreen(Window).

Take a look at Fullscreen feature for Java Apps on OSX Lion for more details

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!