title: How to save window contents as an image
body: <p>I want to capture the contents of a JPanel as an image so that I can store it exactly as the user sees it.  Is there a relatively simple way to do this with swing?</p>