public void initWindow(boolean full) {		
		// Create game window...
		setIgnoreRepaint( true );
		setResizable(false);
		this.addWindowListener(this); // Add the WindowListening events to the GameWindow
		if(full) { // Disable fullScreen
			this.setSize(WIDTH, HEIGHT);
			this.setUndecorated(true);
			gd.setFullScreenWindow(this);
			if( gd.isDisplayChangeSupported() ) { // Checks if Window can be put in fullscreen 
				gd.setDisplayMode( 
						new DisplayMode( WIDTH, HEIGHT, DisplayMode.BIT_DEPTH_MULTI, DisplayMode.REFRESH_RATE_UNKNOWN ) // Sets window to full screen
						);
			}
		} else {
			this.pack(); // Need to pack once to get the insets
			this.setSize(WIDTH + this.getInsets().left + this.getInsets().right,
					HEIGHT + this.getInsets().top + this.getInsets().bottom);
		}
		// Create canvas for painting...
		this.setLocationRelativeTo(null);
		setVisible(true);
		c.setContainer(this);
		c.setWidthInsets(this.getInsets().left);
		c.setHeightInsets(this.getInsets().top);
		add(c);
		c.requestFocusInWindow(); 
		pack(); // Refreshes the canvas on the Window
	}