Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Widget disposed exception when wizard closed using Return key
Widget disposed exception when wizard closed using Return key [message #915788] Mon, 17 September 2012 20:29 Go to next message
Wishwas Mohan is currently offline Wishwas Mohan
Messages: 38
Registered: July 2009
Member
Hi,

I have a wizard which has a composite on top. I am using data binding to validate the data entered in the text field in this composite. When I input valid data and try to close the wizard using Return key (Enter Key) instead of clicking on finish, I get a widget disposed exception. This seems to be because I have lost focus on the wizard. If I get the focus back on finish button using the tab key and then press the return key, it seems to work. Appreciate any pointers on what could be the problem...

Cheers !

Re: Widget disposed exception when wizard closed using Return key [message #917065 is a reply to message #915788] Wed, 19 September 2012 15:40 Go to previous message
Wishwas Mohan is currently offline Wishwas Mohan
Messages: 38
Registered: July 2009
Member
Looks like the shell gets disposed in RAP when you have the focus in a different composite within that wizard page. When you bring the focus back on the shell, it works fine.
Previous Topic:Error annotations lost in reconciler
Next Topic:Cannot find JFace src.zip file
Goto Forum:
  


Current Time: Sat Aug 30 20:23:15 EDT 2014

Powered by FUDForum. Page generated in 0.01615 seconds