[vtkusers] R: Java vtkCanvas/vtkPanel blank on start up, have to manually resize to show content

arturo_caissut at tiscali.it arturo_caissut at tiscali.it
Wed Jan 26 12:12:12 EST 2011


Hi Jarek,

I've resolved a similar issue today by tuning a little bit my virtual machuine. In particular, please try to set -Dsun.java2d.noddraw=true as a jvm option.

Arturo

Le mail ti raggiungono ovunque con BlackBerry® from Vodafone!

-----Original Message-----
From: Jarek Sacha <jarek at ieee.org>
Sender: vtkusers-bounces at vtk.org
Date: Wed, 26 Jan 2011 11:35:23 
To: <vtkusers at vtk.org>
Subject: [vtkusers] Java vtkCanvas/vtkPanel blank on start up,
 have to manually resize to show content

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

_______________________________________________
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


More information about the vtkusers mailing list