Sorry I don&#39;t have any tips but I thought I chime in with my experience with this. I tried this a while back (when I was working with pure swing apps) but I hadn&#39;t been able to get this to work. I spent a day on it an gave it up (ran into lots of issues with native libs). I ended up just creating a parent JPanel for the vtkCanvas and then adding the vtkCanvas to the JPanel in the constructor method of the JPanel.  You won&#39;t be able to see the vtkCanvas while laying out the design but you&#39;ll be able to see the where it is relative to everything else.<div>

<br></div><div>I&#39;d be interested in seeing how anyone else dealt with this. </div><div>Gerrick<br><div><br><div><br><div class="gmail_quote">On Wed, Dec 23, 2009 at 12:25 PM, thao <span dir="ltr">&lt;<a href="mailto:thao10@gmail.com">thao10@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hello,<br>
<br>
I&#39;m new to VTK and also Netbeans.  I&#39;m trying to add a JavaBean component to<br>
the palette in the Netbeans GUI builder.  I want this component to contain a<br>
vtkCanvas.  Does anyone know if this is possible?  I tried it out and I got<br>
the error &quot;The component cannot be instantiated.  Please make sure it is a<br>
JavaBeans component&quot;.<br>
<br>
Any help is appreciated.<br>
<br>
Thank you,<br>
Thao<br>
--<br>
View this message in context: <a href="http://old.nabble.com/VTK-and-Netbeans-GUI-builder-tp26905631p26905631.html" target="_blank">http://old.nabble.com/VTK-and-Netbeans-GUI-builder-tp26905631p26905631.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div></div></div>