public void setData(ByteBuffer data) {
        this.data = new ArrayList<ByteBuffer>(1);
        this.data.add(data);
        setUpdateNeeded();
    }
<code>setData</code> sets the data that makes up the image. This data
is packed into a single <code>ByteBuffer</code>.

@param data
           the data that contains the image information.
jme3-core/src/main/java/com/jme3/texture/Image.java