How to create quad with exact size

Hi,



I have a cube in my world, and a transparent texture of a square (empty inside only stroke visible).

My question is: how can I create a Quad that uses this image as texture and can fit on my cube?

Did you look at the TestRenderToTexture?

http://code.google.com/p/jmonkeyengine/source/browse/branches/jme3/src/test/jme3test/post/TestRenderToTexture.java