Determine platform support for full screen


*******************************************************************
COMPLETE SOURCE CODE FOR : DetermineFullScreenSupport.java
*******************************************************************


import java.awt.Frame;
import java.awt.Window;

import java.awt.GraphicsEnvironment;
import java.awt.GraphicsDevice;

public class DetermineFullScreenSupport
{
public static void main(String[]args)
{
GraphicsEnvironment ge=GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice gd=ge.getDefaultScreenDevice();

if(gd.isFullScreenSupported())
{
System.out.println("FULL SCREEN SUPPORTED");
}
else
{
System.out.println("FULL SCREEN NOT SUPPORTED");
}
}
}


*******************************************************************
JUST COMPILE AND EXECUTE IT
*******************************************************************