5 Replies Latest reply on Oct 10, 2007 4:14 PM by 807592

    Save contents of a JFrame to an image file

    807587
      Hi,
      If I created some graphics 2D rectangles on a JFrame is there a way to save the contents of the JFrame to an image file. I know its possible to save the objects and location to a file that could be loaded again but can I create an actual jpg or gif?

      Thanks
      Jay