<div dir="ltr">The PanelComponent is the "modern" implementation which allow to use various backend (JOGL, swt, legacy) while providing a common API and much more control on the event handling.<div><br></div><div>You might be able to fake your vtkPanel inheritance by creating an adapter between the vtkJOGLPanelComponent and your custom rendering class.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 24, 2019 at 8:50 AM John L. Papp <<a href="mailto:jpapp@craft-tech.com">jpapp@craft-tech.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello All,<br>
<br>
I've recently had to port a java wrapped VTK install to MacOSX High <br>
Sierra.  After extensive web searches, any Java JDK above 1.6 is missing <br>
some of the AWT libraries on which vtkPanel and such rely.  Instead, it <br>
was recommended to use JOGL.  I was able to compile VTK 8.2.0 with JOGL <br>
(I think) and the latest OpenJDK, which I think is version 12, but I can <br>
only go as high as 1.8 in the cmake input.  Anyway, the only interface <br>
is through vtkJoglPanelComponent and vtkJoglCanvasComponent.  There was <br>
talk about a vtkJoglPanel and vtkJoglCanvas that would wrap these other <br>
classes but these don't seem to be available in the 8.2.0 release.  I <br>
would like to avoid having to re-write my vtkPanel extended classes as <br>
I'm using a lot of the JPanel class functions that seem to be <br>
unavailable to the vtkJoglPanelComponent class. Is there a vtkJoglPanel <br>
class floating around or that just isn't the way things are done now.  <br>
Perhaps it's as simple as replacing the renderer stored in vtkPanel with <br>
one from vtkJogPanelComponent, judging from what is done in in the <br>
JoglConeRendering example.  But, I'm not sure if this is the best way to <br>
do it, especially if someone else has already figured it out.  I've been <br>
avoiding upgrading past VTK 4.x because of these issues but am now at a <br>
point where it can't be helped.<br>
<br>
Thanks for any help,<br>
<br>
John<br>
<br>
-- <br>
**************************************************************<br>
Dr. John Papp<br>
Senior Research Scientist<br>
CRAFT Tech.<br>
6210 Kellers Church Road<br>
Pipersville, PA 18947<br>
<br>
Email:  <a href="mailto:jpapp@craft-tech.com" target="_blank">jpapp@craft-tech.com</a><br>
Phone:  (215) 766-1520<br>
Fax  :  (215) 766-1524<br>
Web  :  <a href="http://www.craft-tech.com" rel="noreferrer" target="_blank">http://www.craft-tech.com</a><br>
<br>
**************************************************************<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div>