public void setFullscreen( boolean fullscreen ) { if( strategy == null ){ throw new IllegalStateException( "no strategy available" ); } boolean state = isFullscreen(); if( state != fullscreen ){ strategy.setFullscreen( this, fullscreen ); fireFullscreenChanged(); } }
public void setFullscreen( boolean fullscreen ) { if( strategy == null ){ throw new IllegalStateException( "no strategy available" ); } boolean state = isFullscreen(); if( state != fullscreen ){ strategy.setFullscreen( this, fullscreen ); fireFullscreenChanged(); } }