[vtkusers] R: Re: 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 15:22:30 EST 2011
You"re welcome!
Just to know, are you running Windows 64bit? I'am asking because in my case the problem used to happen only on Windows 64 machines, despite of the JVM version.
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 13:11:23
To: <vtkusers at vtk.org>
Subject: Re: [vtkusers] R: Java vtkCanvas/vtkPanel blank on start up,
have to manually resize to show content
Thanks Arturo.
Option -Dsun.java2d.noddraw=true works!
On 1/26/2011 12:12 PM, arturo_caissut at tiscali.it wrote:
> 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
>
> -----Original Message-----
>
> 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?
_______________________________________________
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