<div dir="ltr">In Java you should use the Java specific classes anyway like vtkPanel/vtkCanvas or the new version of them used in the vtk.sample package of the vtk.jar...<div><br></div><div style>The purpose of those example was to show the possible match between the different languages... </div>
<div style><br></div><div style>Nothing more I believe,</div><div style><br></div><div style>Seb</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 8:52 AM, Ric Wright <span dir="ltr">&lt;<a href="mailto:rkwright@geofx.com" target="_blank">rkwright@geofx.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ah, OK.  Well, I don&#39;t know what to do here.  Is this happening to others?<br>
 Should I file a bug?  Just try to work around it by not using<br>
RenderWindowInteractors (sounds kind of lame).  Or?<br>
<br>
Suggestions?<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888">Ric<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 8/5/13 4:15 PM, &quot;Sean McBride&quot; &lt;<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a>&gt; wrote:<br>
<br>
&gt;On Mon, 5 Aug 2013 16:10:55 -0500, Ric Wright said:<br>
&gt;<br>
&gt;&gt;Well, a little playing around didn&#39;t seem to help, but I am frankly not<br>
&gt;&gt;an<br>
&gt;&gt;expert on threads.  However, it seems to me that the source of the<br>
&gt;&gt;problem<br>
&gt;&gt;is that the vtkRenderWindowInteractor gets initialized then the start()<br>
&gt;&gt;method creates an event loop that is monitored by the<br>
&gt;&gt;vtkRenderWindowInteractor.  I suspect that start() method spawns a new<br>
&gt;&gt;thread to listen to the events and it is the spawning of that thread that<br>
&gt;&gt;causes the exception.<br>
&gt;<br>
&gt;VTK&#39;s Cocoa classes never create any threads.<br>
&gt;<br>
&gt;Cheers,<br>
&gt;<br>
&gt;--<br>
&gt;____________________________________________________________<br>
&gt;Sean McBride, B. Eng                 <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>
&gt;Rogue Research                        <a href="http://www.rogue-research.com" target="_blank">www.rogue-research.com</a><br>
&gt;Mac Software Developer              Montréal, Québec, Canada<br>
&gt;<br>
&gt;<br>
<br>
<br>
</div></div></blockquote></div><br></div>