Re: BlackBerry Paints very slow

[email protected] Wed, 27 Aug 2008 02:12:22 PDT
Newsgroups gmane.comp.java.sun.kvm
Message-ID <10509398.23991219828372819.JavaMail.tomcat@sdcst12.sjc.collab.net>
you cant use repaint();
because it will use standard Canvas procedure - slow :D

use paint like this :

Graphics myGraphics = getGraphics();

paintElements(myGraphics);
flushGraphics(); //put buffer on screen
[Message sent by forum member 'viralpl' (viralpl)]

http://forums.java.net/jive/thread.jspa?messageID=295579

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".