aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Registering Thread in RCP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Registering Thread in RCP" Watch "Registering Thread in RCP" New topic
Author

Registering Thread in RCP

daitkarsachin paatil
Greenhorn

Joined: Apr 07, 2010
Posts: 9
Hi freinds,
I am bulding RCP application in which i need to run a class in prallel thread to my RCP aapllication,as soon as i start the new thread RCP aaplication endups in exception "Invalid Thread Access" could anybody please tell me how to register a thread in RCP so that my thread will run in parallely.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19720
    
  20

Can you post the stack trace, and the code that is starting the thread?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Registering Thread in RCP