This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 19684
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Registering Thread in RCP