Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

applet image question

  Asked By: Wayne    Date: Oct 04    Category: Java    Views: 591
  

I'm new with Java. Please help me. What I need to do seems simple, I
just cant find an example of it.

I have an applet that displays an image (from a gif). I read in text
from parameter tags and then I write the strings onto the image using
the paint() method. I also use drawPolyline() with an array to draw on
the image in the applet.

Now I need to copy the image and the text and everything and save it.
I can take the image and create a copy of it using pixelGrabber, but I
don't understand how to take the text and write it over the new copy
of the image, because the paint method paints to the applet not to an
image.

How can I paint to an image, and not to the applet screen? The rest I
think I can figure out (ie. saving as a gif). If you could provide a
code example it would be greatly appreciated, as my programming skills
in java are squirrely and I need an "immediate solution".

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on applet image question Or get search suggestion and latest updates.




Tagged: