Skip to main content

Drawing contents of a Graphics object in another Graphics object

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2011-12-03

Hallo there. Ill try to explain this the simplest way.

Lets say i have this:

Graphics background = getBackground();

Graphics littleguy = getLittleguy();

now, i have 2 different graphics. I wanted to draw the littleguy in the background, so i could move the background w/o having to move the little guy.
getLittleGuy draws the little guy in a Graphics object, and same for getBackground()

Thanx for your attention and for any kind of help !