private void setupDisplay() throws LWJGLException {
		try {

			DisplayMode displayMode = null;
			DisplayMode[] modes = Display.getAvailableDisplayModes();

			for (int i = 0; i < modes.length; i++) {
				if (modes[i].getWidth() == WorldSettings.SCREEN_WIDTH
						&& modes[i].getHeight() == WorldSettings.SCREEN_HEIGHT && modes[i].isFullscreenCapable()) {
					displayMode = modes[i];
					break;
				}
			}

			Display.setDisplayMode(displayMode);
			Display.setFullscreen(WorldSettings.FULLSCREEN);
			Display.create();

		} catch (LWJGLException e) {
			e.printStackTrace();
		}

	}