Loading an image in to createImage()

M

Mike

Hello, I am trying to load an image in to the createImage() method so that I
can rotate it on a panel (without the whole panel rotating!!). Basically I
just want to copy all the pixels from one image and paste them in to
another.

Hope someone can help
Mike

Btw, why do I get a runtime error with image.getGraphics() when when
intialising an image using getImage(getDocumentBase(),filename) ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,158
Latest member
Vinay_Kumar Nevatia
Top