?? 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 + -