Is it possible to create a scenario with fullscreen?


1 2 3 4 5 6 7 8 9 | import java.awt.Toolkit; // some other stuff private static int width = Toolkit.getDefaultToolkit().getScreenSize().width; private static int height = Toolkit.getDefaultToolkit().getScreenSize().height; public MyWorld() { super (width, height, 1 ); // other stuff |
1 | super (width, height, 1 ); |
1 | super (width, height -somenumber, 1 ); |