I've managed to accomplish your goal, but only with a big hack, doing
the following on the server:
JFrame f = new JFrame();
f.setVisible(true);
Graphics g = f.getGraphics();
Graphics g1 = g.create();
g.dispose();
f.dispose();
If f is not visible, getGraphics returns null. g.create() is needed as g
becomes null after f is disposed. g1 will persist after the others have
been destroyed, and you can now use it for drawing. You can get an int[]
from a BufferedImage created using g1 and then send this over the
network. Unfortunately, drawing this int[] with setRGB on a
BufferedImage is very slow.
Nick
--
Nick Collier
[EMAIL PROTECTED]
Social Science Research Computing
University of Chicago
Chicago, IL 60637
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".