Textureatlas, subimage


First to say, for this I don’t use nifty gui or other, just jme basic,
I Have a row of slots, for each slot I get the current item in and use that picture(a new picture for every item…), which is fine, but it can better and easier, a texture atlas, then I only need to pass the coordinates instead of a picture.
But how to use that? I remember javas getsubimage but how does it works with jme?
So i mean:
Picture.setimage(am, getsubimage(row,column);
Or better guiNode.attachChild(getsubimage(row,colum);

Same image, different texture coordinates.