I have an application that works fine in Java when the whole application is in one thread.  However, when I multi-thread the application I intermittently get the following error<div><br></div><div><div>ERROR: In ..\..\src\Rendering\vtkWin32OpenGLRenderWindow.cxx, line 247</div>
<div>vtkWin32OpenGLRenderWindow (000000005AE922B0): wglMakeCurrent failed in MakeCurrent(), error: The requested resource is in use.</div></div><div><br></div><div>I don&#39;t know what is going on, but it only happens when I use Java threads.</div>
<div><br></div><div>Does anyone know what&#39;s going on and how to fix it?</div><div><br></div><div>Thanks</div>