0

Hey All

I'm working on a graphics project at the moment, and although the details themselves are a little tedious (I won't bore you with them all) I am having some problems. My app was working beautifully, rendering my shapes with ease. But in an attempt to make it more efficient, I decided to make it multi threaded...

Well Now things are going less well. My code draws a number of polygons on screen (to represent the faces of a shape) and although in the non-threaded version, these are all drawn properly, in the multithreaded version many of my polygons just don't draw, instead throwing a ClassCastException. It says "sun.java2D.NullSurfaceData cannot be cast to sun.java2D.D3D.D3DSurfaceData"

Anybody else had this problem? Any advice?

Thanks in advance
M

2
Contributors
1
Reply
3
Views
7 Years
Discussion Span
Last Post by quuba
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.