[vtkusers] Paint problem with vtkCanvas in a java app

Jeff Lee jeff at cdnorthamerica.com
Wed Jun 22 11:50:50 EDT 2005


try
    ToolTipManager.sharedInstance().setLightWeightPopupEnabled(false);
    JPopupMenu.setDefaultLightWeightPopupEnabled(false);
 in a static block in your code.

Normand Mongeau wrote:

> Hi,
>  
> I'm writing a java application that uses the vtk renderer, and I'm 
> having a paint problem.  The main window contains a JSplitPane where 
> the top portion contains a vtkCanvas, and it also has a standard menu 
> bar.  The problem occurs when opening menus, the menu portions that 
> overlap the vtkCanvas are not drawn.
>  
> Has anyone seen this?  Any ideas as to how to solve the problem?
>
> Thanks,
>  
> Norm
>
>------------------------------------------------------------------------
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the 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