5 Replies Latest reply: Oct 10, 2007 11:14 AM by 807592 RSS

    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