public void setImage(Image image) {
        this.image = image;

        // Test if mipmap generation required.
        setMinFilter(getMinFilter());
    }
<code>setImage</code> sets the image object that defines the texture.

@param image
           the image that defines the texture.
jme3-core/src/main/java/com/jme3/texture/Texture.java