Your dataBuffer array will by far be the biggest problem, the rest of the
objects don't take much time - they're just wrappers allowing access to the
data array.
You might want to cycle between a couple of data arrays or something instead of
creating a new one every time.
Dmitri
[Message sent
the rest of the objects don't take much time
And by time I mean space. They're the same thing anyway!
Dmitri
[EMAIL PROTECTED] wrote:
Your dataBuffer array will by far be the biggest problem, the rest of the
objects don't take much time - they're just wrappers allowing access to the
What do u mean by cycling two data array? and how would i get started on that?
is there a some sort of method on the dataBuffer that i can reset my byte[]
array?
thank you
Francis
[Message sent by forum member 'cohodetector' (cohodetector)]
Clearly BufferStrategy only works with Window and Canvas and as JApplet can use
neither of these, how do I get a buffer strategy to work in a JApplet?
I have tried using Canvas and JApplet but I don't believe the combination of
AWT and Swing components is recommended and also there is a problem
Why would you want to use your own BufferStrategy with a JApplet? Why not use
Applet?
Dmitri
[Message sent by forum member 'trembovetski' (trembovetski)]
http://forums.java.net/jive/thread.jspa?messageID=289240
===
To
I don't have enough information on what exactly you're doing to advise you on
the implementation, but I thought that if you have something that generates a
new array of pixels on every frame (may be from a different thread or
something), may be you could have two arrays - one you currently