org.eclipse.swt.SWTException


i created one thread and in that thread i am creating another thread

but i am getting this exception

org.eclipse.swt.SWTException: Invalid thread access



at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.widgets.Display.error(Unknown Source)

at org.eclipse.swt.widgets.Display.checkDevice(Unknown Source)

at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)

at chrriis.dj.nativeswing.NativeInterfaceHandler.dispatch(NativeInterfac

eHandler.java:300)

at chrriis.dj.nativeswing.NativeInterfaceHandler.runEventPump(NativeInte

rfaceHandler.java:293)

at com.instacoll.livedocuments.oo.userinterface.ManageDocuments.showMana

geApp(ManageDocuments.java:1615)

at com.instacoll.livedocuments.oo.miscellaneous.InstaSecureTray$3$1.run(

InstaSecureTray.java:208)

org.eclipse.swt.SWTException: Invalid thread access

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.widgets.Display.error(Unknown Source)

at org.eclipse.swt.widgets.Display.checkDevice(Unknown Source)

at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)

at chrriis.dj.nativeswing.NativeInterfaceHandler.dispatch(NativeInterfac

eHandler.java:300)

at chrriis.dj.nativeswing.NativeInterfaceHandler.runEventPump(NativeInte

rfaceHandler.java:293)

at com.instacoll.livedocuments.oo.userinterface.ManageDocuments.showMana

geApp(ManageDocuments.java:1615)

at com.instacoll.livedocuments.oo.miscellaneous.InstaSecureTray$3$1.run(

InstaSecureTray.java:208)

org.eclipse.swt.SWTException: Invalid thread access

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.widgets.Display.error(Unknown Source)

at org.eclipse.swt.widgets.Display.checkDevice(Unknown Source)

at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)

at chrriis.dj.nativeswing.NativeInterfaceHandler.dispatch(NativeInterfac

eHandler.java:300)

at chrriis.dj.nativeswing.NativeInterfaceHandler.runEventPump(NativeInte

rfaceHandler.java:293)
[ May 19, 2008: Message edited by: ramesh kancherla ]
Posted On: Wednesday 17th of October 2012 10:17:58 PM Total Views:  94
View Complete with Replies