public class FullscreenUtility extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
fullscreen |
protected JFrame |
window |
| Constructor and Description |
|---|
FullscreenUtility(JFrame frame)
Construct with the given JFrame.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setFullscreen(boolean fullscreen)
Method allows changing whether this window is displayed in fullscreen or
windowed mode.
|
protected boolean fullscreen
public FullscreenUtility(JFrame frame)
frame - The frame.public void setFullscreen(boolean fullscreen)
fullscreen - true = change to fullscreen, false = change to windowed