mirror of
https://github.com/jneug/zeichenmaschine.git
synced 2026-04-14 14:43:33 +02:00
Kleine Änderung
This commit is contained in:
@@ -11,6 +11,7 @@ import java.awt.event.*;
|
|||||||
import java.awt.image.BufferedImage;
|
import java.awt.image.BufferedImage;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
import java.util.LinkedList;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hauptklasse der Zeichenmaschine.
|
* Hauptklasse der Zeichenmaschine.
|
||||||
@@ -346,6 +347,7 @@ public class Zeichenmaschine extends Constants implements MouseInputListener, Ke
|
|||||||
* ansonsten deaktiviert.
|
* ansonsten deaktiviert.
|
||||||
*/
|
*/
|
||||||
public final void setFullscreen( boolean pEnable ) {
|
public final void setFullscreen( boolean pEnable ) {
|
||||||
|
// See https://docs.oracle.com/javase/tutorial/extra/fullscreen/index.html
|
||||||
if( displayDevice.isFullScreenSupported() ) {
|
if( displayDevice.isFullScreenSupported() ) {
|
||||||
if( pEnable && !fullscreen ) {
|
if( pEnable && !fullscreen ) {
|
||||||
// frame.setUndecorated(true);
|
// frame.setUndecorated(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user