public static com.jme.image.Texture loadTexture(java.awt.Image image, int minFilter, int magFilter, boolean flipped) { com.jme.image.Image imageData = loadImage(image, flipped); Texture texture = new Texture(); texture.setCorrection(Texture.CM_PERSPECTIVE); texture.setFilter(magFilter); texture.setImage(imageData); texture.setMipmapState(minFilter); return texture;
public static com.jme.image.Texture loadTexture(String file, int minFilter, int magFilter) { return loadTexture(file, minFilter, magFilter, 1.0f, true);
    public static com.jme.image.Texture loadTexture(java.awt.Image image,                                                    int minFilter, int magFilter, boolean flipped) {        com.jme.image.Image imageData = loadImage(image, flipped);        Texture texture = new Texture();        texture.setCorrection(Texture.CM_PERSPECTIVE);        texture.setFilter(magFilter);        texture.setImage(imageData);        texture.setMipmapState(minFilter);        return texture;    }