📄 initializefullscreen.java
字号:
/* * InitializeFullScreen.java */package org.java3dgamesdk.samples.I;import org.java3dgamesdk.core.*;/** * Sample program to initialize the game frame in full screen mode. * To close the applciation, please use the ESC key. * * @author Norbert Nopper */public class InitializeFullScreen { public static void main(String[] argv) { // create the object GameFrame gameFrame = new GameFrame(); // create the full screen with a resolution of 800x600, 16bit color depth and a moderate refresh rate of 75 Hz if(!gameFrame.makeFullScreen(800, 600, 16, 75)) { System.err.println("Full screen or graphic mode not supported."); System.exit(1); } } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -