Hi Karsten
>
> my paint method of my JPanel inheriting class looks like this:
>
>   public void paint( Graphics graphics ) {
>
>     ...
>
>     canvas.renderOffScreenBuffer();
>     canvas.waitForOffScreenRendering();
>
>     graphics.drawImage( canvas.getOffScreenBuffer().getImage(), 0, 0,
> this );
>
>   }
>
> the application stalls at the canvas.waitForOffScreenRendering(), never
> returning from it.
Hmm could be a threading problem did you try something like

canvas.renderOffScreenBuffer();

synchronized(canvas) {
 canvas.waitForScreenRendering();
}

EOF,
 J.D.

--
Jmark2k+1 (http://www.antiflash.net/jmark)
Test the performance of your PC online!

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

Reply via email to