[6202] in java-interest

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

Graphics Buffering Bug?

daemon@ATHENA.MIT.EDU (Anthony J. F. Demark)
Mon Mar 25 14:38:50 1996

Date:         Thu, 21 Mar 1996 09:45:46 -0500
Reply-To: Java Interest <JAVA-INTEREST@JAVASOFT.COM>
From: "Anthony J. F. Demark" <TheShadow@PSU.EDU>
To: Multiple recipients of list JAVA-INTEREST
              <JAVA-INTEREST@JAVASOFT.COM>

I have a program that, instead of repainting the screen at intervals, will
draw to an offscreen buffer and then copy the buffer to the main viewport.
This works in the JDK Applet Runner.

However, when I try to run the applet in Netscape (and in Roaster's Applet
Runner), the screen does not get update automatically... the program is
running fine otherwise.  You see, if I place a window in front of the
running applet and then remove the window, the applet will redraw
correctly, as if it had been updating all along.

Now, my question... is the fact that the buffering works in JDK a bug in
JDK or is the fact that it doesn't work in Netscape/Roaster a bug in those
programs?

In addition, is there another way to buffer/repaint the screen without that
annoying "flicker"?

Sorry for this being a little rambling and incoherent.... =)

Thanks,
- Tony

--------------------------------------------------------------------------
Anthony J. F. Demark                          Computer Science/Meteorology
203 Irvin Hall                                           (814)  862 - 4600
University Park, PA  16802                  http://www.ems.psu.edu/~demark
            "Who knows what evil lurks in the hearts of men?"
--------------------------------------------------------------------------

-----
This message has been forwarded via the JAVA-INTEREST
mailing list.  In order to unsubscribe from this list, send a message to
listserv@javasoft.com with the command 'signoff JAVA-INTEREST' in
the message body (not in the subject line).

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