[vtkusers] vtkPanel/canvas/renderwindow in a JFrame/JPanel MacOS

E K egk865 at gmail.com
Tue Nov 27 22:03:27 EST 2012


Not sure, but you mention you're using Java 7 and according to this post
here: http://www.vtk.org/pipermail/vtkusers/2012-July/124612.html VTK does
not yet support Java 7 on Macs (do you have the same problem with Java 6?)

That post seems to imply that Java 7 on Macs should be supported in VTK 6.
Anyone know if that is still the case?


On Mon, Nov 26, 2012 at 3:50 PM, Scott Kelly <stk at veritegroup.com> wrote:

> I wanted to follow up to the problem I'm having with VTK and MacOS (see
> original email below).  I'm hoping someone may have some insight.
>
>
> I'm having issues putting a vtkPanel, vtkCanvas or vtkRenderWindowPanel
> into a JFrame or JPanel on MacOS.   The vtk panel renders outside of the
> frame or panel but the interaction for the window stays within the original
> frame/panel.  I would like the vtk panel to stay within the Jframe and
> Jpanel.  On Win7 or Ubuntu the code works as expected, the vtk panel is
> contained within the Jframe or Jpanel.
>
> As you hover over or interact with the original Jframe/Jpanel Java
> constantly outputs the following error:
>
> JavaVM WARNING: JAWT_GetAWT must be called after loading a JVM.
>
> I'm using Java 1.7.0_09, VTK 5.10.1 and MacOS 10.8.2.
>
> This problem can be reproduced using the TreeViews.java and Focus.java
> examples included with VTK.
>
> Thanks in advance,
> Scott
>
> _______________________________________________
> 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/20121127/5f334131/attachment.htm>


More information about the vtkusers mailing list