How to take a snapshot from a GLCanvas?

I want to save the current scene in jpeg or other image formats? How can I do that with JOGL? Is there something like TGATextureGrapper in gl4java?

Thanks