[vtkusers] VTKPanel +Swing - repainting issue

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Jun 21 13:42:41 EDT 2010


Do you have an ATI graphic card ?

I did get the same problem with those kind of card. Moreover, on which
OS are you running your Java application ?

Seb

On Mon, Jun 21, 2010 at 12:28 PM, Markus Ott <ott-markus at t-online.de> wrote:
> Hello vtkusers!
>
> I'm using VTK within Java. I have a simple layout with a JPanel
> containing another information panel on the left side and a vtkPanel on
> the right side.
>
> When i'm trying to override paintComponent()-methods of my infoPanel and
> call the repaint() method the whole program's visual representation
> messes up. I.e. i have only black and grey representations of my gui
> elements and vtkPanel isn't usable any more (if i click it i get a
> nullPointerException).
>
> I think it has something to do with mixing lightweight and heavyweight
> components within java.
>
> Also the vtkPanel is flickering while resizing the window or if other
> programs are on top of it. I think this may be based upon the same problem.
>
> Has anybody an idea what to do?
>
> Regards,
> Markus
>
>
> _______________________________________________
> 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