Respected sir,
               To introduce myself iam Prasanna Vasan from India
I have a problem in Swing Tech.

This is my req:

I have a gif coming from the directory and i have pasted in my JApplet's
Jpanel now i have to scribble or add some more things in the JApplet and after
doing that if i click a JBtton then i have to take the entire JPanel copy as a
Image so that i can pass it to a GifEncoder and get it as a Gif now my problem
is "How To get that screen dump of the JApplet"

This is the Code i have used it:

RepaintManager manager=RepaintManager.currentManager(jPanel1);
Image image=
manager.getOffscreenBuffer(jPanel1,jPanel1.getWidth(),jPanel1.getHeight());

Well, this should give the JPanel's Image as well as the lines that i have
drawn over the image instead it gives the Entire JApplet.

so could u please rectify and give a solution.

I badly need it sir..

Expecting reply

(Prasanna Vasan.S)


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to