|Invalid thread access [message #462959]
||Sun, 23 October 2005 00:11
Originally posted by: ahsanfz.hotmail.com|
I have a problem, I get the following exception.
org.eclipse.swt.SWTException: Invalid thread access
This happens when I try updating a table I created. Now the table gets created in say, "Class A". Now an Action Class fetches new data for the table. This happens in say "Class B extends Action" which actually is an Action class which only invokes the business method that fetches the xml data. This business method is in "Class C". Now "class C" signals a change in data to "class A", as "Class A" is listening to "Class C" for changes. So quite apparently the thread that signals the change to "Class A" is different than the thread the swt table gets created in. Which swt is restricting us to do, i.e. update widgets in seperate threads then the ones they get created in.
How do I update its input. Does someone understand my problem.
Powered by FUDForum
. Page generated in 0.02956 seconds