Hello Everyone,

I am new to Java. And I have a question regarding copying a screen area to a memory. For example, I have an applet and drawn a rectangle on the applet. Inside the rectangle, I made some other shapes like circles, triangles and ovals. Would it be possible to copy the rectangle and all the shapes in it and paste the rectangle with all its shapes inside only after an event, for example a mouseClick event perhaps?