[vtkusers] VTK and Netbeans GUI builder
Gerrick Bivins
gbivins at objectreservoir.com
Thu Dec 24 12:57:41 EST 2009
Sorry I don'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'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't be able to see the
vtkCanvas while laying out the design but you'll be able to see the where it
is relative to everything else.
I'd be interested in seeing how anyone else dealt with this.
Gerrick
On Wed, Dec 23, 2009 at 12:25 PM, thao <thao10 at gmail.com> wrote:
>
> Hello,
>
> I'm new to VTK and also Netbeans. I'm trying to add a JavaBean component
> to
> the palette in the Netbeans GUI builder. I want this component to contain
> a
> vtkCanvas. Does anyone know if this is possible? I tried it out and I got
> the error "The component cannot be instantiated. Please make sure it is a
> JavaBeans component".
>
> Any help is appreciated.
>
> Thank you,
> Thao
> --
> View this message in context:
> http://old.nabble.com/VTK-and-Netbeans-GUI-builder-tp26905631p26905631.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091224/16cc99ff/attachment.htm>
More information about the vtkusers
mailing list