private void initDisplay() {
		size = new Dimension(960,540);
		tempSize = size;
		maxResolution = new Dimension(1920,1080);
		try {
			Display.setDisplayMode(new DisplayMode(size.width, size.height));
			setFullscreen(false);
			setFPSCounter(true);
			Display.create();
			Display.setTitle(title );
			ByteBuffer[] icons = {TextureManager.loadImageAsByteBuffer("icon/icos"),TextureManager.loadImageAsByteBuffer("icon/icol")};
			Display.setIcon(icons );
			Display.setResizable(true);
		} catch (Exception e) {
			e.printStackTrace();
		}
		camera = new Camera(comp,this);
		camera.initCamera();
		try {
			Keyboard.create();
			Mouse.create();
		} catch (LWJGLException e) {
			e.printStackTrace();
		}
		comp.createComponents();
		setDisplayReady(true);
		
		
	}