if("LWJGL".equalsIgnoreCase(properties.getRenderer())) { display = new LWJGLDisplaySystem(); display.createWindow(properties.getWidth(), properties.getHeight(), properties.getDepth(), properties.getFreq(), properties.getFullscreen()); cam = display.getRenderer().getCamera(properties.getWidth(),properties.getHeight()); }
display = DisplaySystem.getDisplaySystem(properties.getRenderer()); display.createWindow(properties.getWidth(), properties.getHeight(), properties.getDepth(), properties.getFreq(), properties.getFullscreen()); display.setTitle("Test Text"); cam = display.getRenderer().getCamera(properties.getWidth(), properties.getHeight());
    protected void initSystem() {        try {            if("LWJGL".equalsIgnoreCase(properties.getRenderer())) {                display = new LWJGLDisplaySystem();                display.createWindow(properties.getWidth(), properties.getHeight(),                                properties.getDepth(), properties.getFreq(),                                properties.getFullscreen());                cam = display.getRenderer().getCamera(properties.getWidth(),properties.getHeight());            }        } catch (JmeException e) {            e.printStackTrace();            System.exit(1);        }        ColorRGBA blueColor = new ColorRGBA();        blueColor.r = 0;        blueColor.g = 0;        display.getRenderer().setBackgroundColor(blueColor);        cam.setFrustum(1.0f,1000.0f,-0.55f,0.55f,0.4125f,-0.4125f);        Vector3f loc = new Vector3f(4.0f,0.0f,0.0f);        Vector3f left = new Vector3f(0.0f,-1.0f,0.0f);        Vector3f up = new Vector3f(0.0f,0.0f,1.0f);        Vector3f dir = new Vector3f(-1.0f,0f,0.0f);        cam.setFrame(loc,left,up,dir);        display.getRenderer().setCamera(cam);    }