Hi vtkusers,<div>           I have a vtkCanvas object which renders  vtkImageData and it is working absolutely fine. </div><div>           My application consists of a JFrame with JTabbedPane in it. A Simple requirement in my application is that whenever a tab gets selected I have to remove the vtkCanvas object from the previous active tab and add it to the current active tab. When I am trying to do it I am getting the following error.</div>
<div>           </div><h2 class="title" style="margin:0px 0px 20px;padding:0px;text-align:justify"><font color="#003366" face="palatino, georgia, times new roman, serif" size="4"><span style="line-height:19px">wglMakeCurrent failed in MakeCurrent(), error: handle Invalid()</span></font></h2>
<div>Please give me some pointers about where I am doing wrong.</div><div><br></div><div>Thanks a lot</div><div><br></div><div>Best Regards,</div><div>Satya.</div><div><br></div><div><font color="#003366" face="palatino, georgia, times new roman, serif" size="4"><span style="line-height:19px"><br>
</span></font></div><div><font color="#003366" face="palatino, georgia, times new roman, serif" size="4"><span style="line-height:19px"><br></span></font></div>