[1703] in java-interest
Repaint : how doest it work ? Interaction with XOR mode.
daemon@ATHENA.MIT.EDU (dufourd@enst.enst.fr)
Thu Sep 14 16:52:57 1995
From: dufourd@enst.enst.fr
To: java-interest@java.sun.com
Date: Thu, 14 Sep 95 18:00:02 +0200
I would like confirmation of these guesses. I haven't seen mention of this
in any doc.
Repaint is asynchronous (implicit in the repaint(long tm) method).
Repaint orders may get lost. If you count on the parity of repaints for
Xor mode, too bad. If you count on one specific repaint to do some
scrolling, too bad.
There is a possibility of drawing outside of paint and update methods
by using Component.getGraphics(), which should be used for rubberband
like interaction.
On another subject, I find Glen Perkins's idea of a Java How-to Guide
excellent, and I think we should start a repository ourselves : Java
developpers don't have time for that now, if they dare release something
like JDK with no docs.
JC
------------------------------------------Java, Lisp & Theater----------------
Jean-Claude Dufourd Departement Electronique,ENST Tel: +33 1 45 81 78 07
46 rue Barrault, 75013 Paris Fax: +33 1 45 80 40 36
Email: dufourd@elec.enst.fr URL: http://www-elec.enst.fr/~dufourd/jcd.html
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com