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