[2556] in java-interest
Re: Double Buffering
daemon@ATHENA.MIT.EDU (Paul_Balon_at_ASTENGFW@ccmailsmtp.)
Wed Oct 4 13:46:57 1995
From: Paul_Balon_at_ASTENGFW@ccmailsmtp.ast.com
Date: Wed, 04 Oct 95 10:36:47 PST
To: java-interest@java.sun.com, "C. Jones" <cvj@u.washington.edu>
Check out the update() method. This is probably where your applet is
being erased before the paint.
This brings up a question that I had...
(using Win95 alpha3)
Q: How do you get a graphics handle for the applet window outside of
the paint and update methods? I can see how to get it for a offscreen
image but is there a way to do this for the onscreen image without
operating within the paint or update?
If not, is there a reason?
______________________________ Reply Separator _________________________________
Subject: Double Buffering
Author: "C. Jones" <cvj@u.washington.edu> at internet
Date: 10/4/95 1:48 AM
Dear Folks
I wrote a java application that puts up a gif file and then allows the user to
draw some lines on top of it. I implemented double buffering as suggested in
the Java documentation, but the image still flashes as the user draws.
Any suggestions?
NotesS:
I developed the application under Windows NT using the 1.3 alpha release.
The page is located at http://weber.u.washington.edu/~cvj/tsp.html.
I'm a newbie, so if this is not the appropriate forum, or the answer
exists in an FAQ, please forgive me (and direct me to the location of
the answer).
Thanks,
Chris Jones
U. Washington
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com