[vtkusers] help vtkpanel

Jeff Lee jeff at cdnorthamerica.com
Fri Dec 13 08:57:25 EST 2002


Gopalakrishnan, Gowri wrote:

>I think you error is coming from the native code which actually grabs the
>drawing surface from canvas and locks it. As jeff said pl post your code,
>I doubt if it is  a problem of version. I don't think the native interface
>has changed between versions. 
>
The native code has changed, and so has vtkPanel.  You are right, though 
- it may simply be from trying to render before the panel has been 
realized.  Tough to tell from example.
-Jeff

>
>Gowri
>
>
>-----Original Message-----
>From: vidya sivakumar [mailto:vidya.sivakumar at quest-global.com] 
>Sent: 13 December 2002 12:00
>To: vtkusers at public.kitware.com
>Subject: [vtkusers] help vtkpanel
>
>
>Hi all,
>I am trying to use vtkPanel with Java. I want to render it in a separate
>frame as against another GUI and switch between windows.
>But when I use vtkPanel it gives me the "error locking surface" message and
>nothing appears in the panel.
>Could somebody please help.
>I am using vtk4.0 and java1.3.1
>Please let me know the correct way to do this.
>Thanks in Advance,
>Vidya
>
>  
>




More information about the vtkusers mailing list