[5769] in java-interest

home help back first fref pref prev next nref lref last post

'setGraphics()' for double buffering ??

daemon@ATHENA.MIT.EDU (dc)
Mon Feb 26 08:47:48 1996

Date: Mon, 26 Feb 1996 02:41:13 -0800
To: java-interest@java.sun.com
From: dc <dc@symbolicsoft.com>

Is there a 'setGraphics()' command to match the 'getGraphics()' ?

I have an applet with an offscreen image; rather than drawing into the
offscreen, and then _copying the whole thing_ onscreen (even with clipping)
I want to just swap those two buffers....

Is there some other type of sub-component I can create that will allow me to
change the pointer that it uses for displaying? Or create my _own_
'Graphics' first to pass the window creator - that I can then switch behind
its back!

I looked at 'setPixel()' in the image filter, but this seems for
post-processing images.

tia!

dc
___________________________________________________________________

      /\    dave 'dc' collier
     /_/\     Symbolic Software, Inc.
    /_\_ \      dc@SymbolicSoft.com
   /___/__\       tel (415) 546 1295
 
         use your Head or lose your Mind!  http://www.BurnCycle.com
 


-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post