[vtkusers] vtkPanel

Jeff Lee jeff at cdnorthamerica.com
Thu Jun 28 12:30:29 EDT 2001


I got in on the tail-end of things, which version of vtk?  test.java works fine for me.  My
gut feeling is that you might be using the new vtkPanel (from a recent nightly) which uses
jawt to get rid of deprecated methods.  You can tell if when you compile vtkPanel.java whether
or not you get warnings from javac.  If this is the case, there is a vtkPanelOld.java in
$VTKDIR/java that you could try out.  The thing about the new vtkPanel is that you need to
compile vtk with -DVTK_USE_JAWT to get this to work.  Let me know.
-Jeff

Matthew O'Brien wrote:

> >Basically, a render doesn't occur until you have actors present.  This is
> the way the
> >old vtkPanel was designed, basically you could take out all of the checks
> for
> >ren.VisibleActorCount() ==0) and things should work fine.
> >-Jeff
>
> I wish it were that simple. That was one of the first things I checked when
> I was trying to figure out what was going on. The VisibleActorCount() is 1
> on the example I'm trying to run.
>
> Right now I'm just trying to run test.java
> (http://public.kitware.com/vtkhtml/exampleCode.html)
> so I don't think it's the code that's causing the problems.
>
> Thank you for your suggestions,
> Any other ideas are greatly appreciated
> Matt
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

--
J.A. Lee


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20010628/523aee09/attachment.htm>


More information about the vtkusers mailing list