[vtkusers] vtkPanel

Matthew O'Brien matthew_obrien at ndsu.nodak.edu
Fri Jun 29 10:50:10 EDT 2001


The comments for vtkPanelOld say to use the new version for jdk 1.3, which
is what I'm using.

Where exactly do I need to put the -DVTK_USE_JAWT flag?

Thanks,
Matt

-----Original Message-----
From: vtkusers-admin at public.kitware.com
[mailto:vtkusers-admin at public.kitware.com]On Behalf Of Jeff Lee
Sent: Thursday, June 28, 2001 11:30 AM
To: Matthew O'Brien
Cc: vtkusers at public.kitware.com
Subject: Re: [vtkusers] vtkPanel


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






More information about the vtkusers mailing list