Re: [JAVA2D] How to use BufferStrategy with JApplet?

2008-07-25 Thread Dmitri Trembovetski
Hi, I don't think using JApplet won't help you much. The only reason I think it may make a difference is that JApplets in 6u10 disable the clearing of the background on resize. I would suggest not to do multi-threaded rendering, it's generally a bad idea. You don't get any

Re: [JAVA2D] How to use BufferStrategy with JApplet?

2008-07-25 Thread Dmitri Trembovetski
Dmitri Trembovetski wrote: Hi, I don't think using JApplet won't help you much. Ok, that should have been: I don't think using JApplet will help you much. Dmitri The only reason I think it may make a difference is that JApplets in 6u10 disable the clearing of the

Re: [JAVA2D] How to use BufferStrategy with JApplet?

2008-07-25 Thread java2d
OK thanks Dmitri. Unfortunately using setIgnoreRepaint() doesn't help. My multithreaded rendering is working very nicely and in some ways is less complex than putting it all in one thread. I think I will just live with the small amount of flickering on resize that I have now. -- And loving

Re: [JAVA2D] How to use BufferStrategy with JApplet?

2008-07-25 Thread Dmitri Trembovetski
May be you could suspend some of your rendering when resizing? Add a component event listener to the Japplet, and pause your rendering thread - may be it'll help. Dmitri [EMAIL PROTECTED] wrote: OK thanks Dmitri. Unfortunately using setIgnoreRepaint() doesn't help. My

Re: [JAVA2D] How to use BufferStrategy with JApplet?

2008-07-25 Thread java2d
Gosh Dmitri - it was that simple! Why didn't I think of that? Thanks very much indeed :-) :-) -- And loving it, -Qu0ll (Rare, not extinct) _ [EMAIL PROTECTED] [Replace the SixFour with numbers to email me] [Message sent by forum member 'qu0ll'

Re: [JAVA2D] How to use BufferStrategy with JApplet?

2008-07-24 Thread java2d
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