public static void setFullScreenMode(){
		if(fullScreenOn || videoFullScreenOn){
			if(Debug.gui)
				System.out.println("already fullscreened");
			return;
		}
		//goto fullscreen mode

		framePreFullScreenDimensions = frame.getBounds();
		contentPanePreFullScreenDimensions = contentPane.getBounds();
		System.out.println("frame-pfs-dimensions"+framePreFullScreenDimensions);
		System.out.println("contentPane-pfs-dimensions"+
				contentPanePreFullScreenDimensions);

		menuBar.menu.setFullscreen(true);	//update the tickBox on the menuBar
		frame.setVisible(false);
		frame.dispose();
		frame.setUndecorated(true);	//remove the window from the frame

    	GraphicsConfiguration gc = frame.getGraphicsConfiguration();
    	GraphicsDevice myScreen = gc.getDevice();
    	GraphicsEnvironment ge =
    		GraphicsEnvironment.getLocalGraphicsEnvironment();

    	// there are no guarantees that screen devices are in order, but
    	// they always are
    	GraphicsDevice[] gd = ge.getScreenDevices();
    	int myScreenIndex = -1;
    	if(Debug.gui)
    			System.out.println(gd.length);
    	for (int i = 0; i < gd.length; i++) {
    	    if (gd[i].equals(myScreen))
    	    {
    	        myScreenIndex = i;
    	        break;
    	    }
    	}

        //Assume default configuration
       	GraphicsConfiguration gcc = gd[myScreenIndex].getDefaultConfiguration();

       	Rectangle monitor = gcc.getBounds();

       	/*sets the screen to fullscreen exclusive mode
		fullscreen exclusive mode is a problem with dual screen monitors
		as SafetyNet minimises as soon as a window on the 2nd screen is
		selected*/
     	//myScreen.setFullScreenWindow(frame);

       	if(Debug.gui)
     		System.out.println(monitor.x + " " + monitor.y +
     			" " + monitor.width + " " + monitor.height);

     	frame.setBounds(monitor);
     	if(Debug.gui)
     		System.out.println("window is on screen" + myScreenIndex);


		fullScreenOn=true;			//set flag
		frame.setVisible(true);		//show the frame
		resizeHandler();

	}