Size of vtkCanvas is not properly set
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
If you do this
JFrame frame = new JFrame(); vtkCanvas canvas = new vtkCanvas(); frame.add(canvas, BorderLayout.CENTER); frame.setVisible(true); frame.setSize(800,600);
the underlying vtkRenderWindowInteractor size is not properly set and picking occures at random position.
I get this error with vtkCanvas.java revision 1.9 and vtkPanel.java revision 1.17.