Re: BlackBerry Paints very slow
[email protected] Wed, 27 Aug 2008 10:38:43 PDT
| Newsgroups | gmane.comp.java.sun.kvm |
|---|---|
| Message-ID | <15760811.45041219858753332.JavaMail.tomcat@sdcst12.sjc.collab.net> |
>Do you have multiple threads running? Sometimes there is another thread that is making a communication process. But generally I dont have other threads running. >How are you doing your graphics, meaning to you calculate before hand, and then use the >values, or are you performing calculations on the fly? I calculate the most of it before hand. We are working with components, so inside the painting method there are some calls to the component`s methods in order to paint themselves. >When you say you are doing a "full screen" drawing, what kinda of stuff are you doing, is it painting an image, or drawing points, or a single gfx.fillRect(x,y,x1,y1); ? We paint using fillRect, drawRect, etc. directly to the Graphics instance of the screen. >The blackberry device is very strange I have found, especially when it comes to >multi-threading, and synchronous blocks. It seems that Blackberrys use a single thread for JavaME, and fake multi-threading. Thanks! [Message sent by forum member 'gtagliani' (gtagliani)] http://forums.java.net/jive/thread.jspa?messageID=295713 =========================================================================== 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".