[vtkusers] Paint problem with vtkCanvas in a java app
Normand Mongeau
nmongeau at videotron.ca
Wed Jun 22 12:54:55 EDT 2005
Actually it did work.
It's just that this code must be called before _any_ visuals are created.
Many thanks!
----- Original Message -----
From: "Jeff Lee" <jeff at cdnorthamerica.com>
To: "Normand Mongeau" <nmongeau at videotron.ca>
Cc: "VTK-User" <vtkusers at vtk.org>
Sent: Wednesday, June 22, 2005 11:50 AM
Subject: Re: [vtkusers] Paint problem with vtkCanvas in a java app
> 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