rootNode.setTextureCombineMode(TextureState.COMBINE_CLOSEST);
rootNode.attachChild(Yaxis); rootNode.attachChild(Zaxis);
    private void drawAxis() {        Box Xaxis=new Box("axisX",new Vector3f(5,0,0),5f,.1f,.1f);        Xaxis.setModelBound(new BoundingBox());        Xaxis.updateModelBound();        Xaxis.setSolidColor(ColorRGBA.red);        MaterialState red=display.getRenderer().getMaterialState();        red.setEmissive(ColorRGBA.red);        red.setEnabled(true);//        Xaxis.setRenderState(red);        Box Yaxis=new Box("axisY",new Vector3f(0,5,0),.1f,5f,.1f);        Yaxis.setModelBound(new BoundingBox());        Yaxis.updateModelBound();        Yaxis.setSolidColor(ColorRGBA.green);        MaterialState green=display.getRenderer().getMaterialState();        green.setEmissive(ColorRGBA.green);        green.setEnabled(true);//        Yaxis.setRenderState(green);        Box Zaxis=new Box("axisZ",new Vector3f(0,0,5),.1f,.1f,5f);        Zaxis.setSolidColor(ColorRGBA.blue);        Zaxis.setModelBound(new BoundingBox());        Zaxis.updateModelBound();        MaterialState blue=display.getRenderer().getMaterialState();        blue.setEmissive(ColorRGBA.blue);        blue.setEnabled(true);//        Zaxis.setRenderState(blue);        rootNode.attachChild(Xaxis);        rootNode.setTextureCombineMode(TextureState.COMBINE_CLOSEST);//        rootNode.attachChild(Yaxis);//        rootNode.attachChild(Zaxis);//      rootNode.setIsRoot(true);    }