Capturin JFrame Content to A Graphic File

M

Mika Stenberg

Can anyone help me out here:

Im producing an image on a JFRAME by using a JUNG library
(jung.sourceforge.net).
Im hoping to dump this picture out on HD as JPG or PNG.

How would I do that?

Thanks a lot,
Mika
 
A

Andrew Thompson

Im producing an image on a JFRAME ..

JFrame (please don't SHOUT)
..Im hoping to dump this picture out on HD as JPG or PNG.

How would I do that?

You will probably find some examples on Marco Schmidt's
page set you on the right track..
<http://www.geocities.com/marcoschmidt.geo/java-image-file-code-examples.html>

BTW - X-posting to ..
comp.lang.java.gui, comp.lang.java.programmer,
fj.comp.lang.java, pl.comp.lang.java
is too wide a cross-post for this.

I doubt that fj.comp.lang.java and pl.comp.lang.java
are in any way valid/useful groups in any case.

For information on the best groups, check here..
<http://www.physci.org/codes/javafaq.jsp#groups>

* Not: Follow-ups set to c.l.j.GUI. *
 

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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top