[vtkusers] Java vtkCanvas/vtkPanel blank on start up, have to manually resize to show content
Jarek Sacha
jarek at ieee.org
Wed Jan 26 11:35:23 EST 2011
I am trying to figure out how to display content of Java's vtkPanel at
startup (or vtkRenderWindowPanel). Consider JFrameRenderer example at
http://www.vtk.org/Wiki/VTK/Examples/Java/SwingIntegration/JFrameRenderer
When I started the frame it is correctly sized, for a moment the content
flickers then goes blank. It can be displayed by resizing the window or
simply pressing 'R'. Similar thing may happen when the frame is
minimized, after it is restored, content may be blank (it intermittent,
though frequent); pressing 'R' restores the display.
Any ideas how to get the display right when frame opens?
Jarek
More information about the vtkusers
mailing list