public static FrameBufferTextureTarget newTarget(Texture tx){
            FrameBufferTextureTarget t=new FrameBufferTextureTarget();
            t.setTexture(tx);
            return t;
        }
Do not use.

@return the slot code, such as SLOT_DEPTH_STENCIL
jme3-core/src/main/java/com/jme3/texture/FrameBuffer.java