GDI Resource leak
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I have an application that is a mix btw vtk4.2 and java swing. I'm using vtkCanvas which extends vtkPanel.
Recently I discovered that vtkPanel leak something called GDI objects. This leackage will after some time lead to unstabillity and crash of my PC (Win 2000).
I see the same problem in the example programs following the vtk distribution (f.ex TestVTKCanvas.java)
Have anyone else seen this problem ? How can I ensure that vtkPanel do not use up this GDI objects ?