• Post Reply Bookmark Topic Watch Topic
  • New Topic

Thread not starting

 
arjan pronk
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to finish this by tomorow but....

It seems my thread isn't starting, now I've tried strolling around the the forum looking for a similiar problem but couldn't find it.

The problem is it doesn't go into either of the catches but it doesn't give the wanted output either

Thanks in advance

Arjan

the output is:


so it completely skips or takes forever to launch public void run()





I'm calling it from another class




[ May 25, 2008: Message edited by: arjan pronk ]
 
Henry Wong
author
Sheriff
Posts: 22526
109
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Your run() method, that prints "Starting thread", is not part of your NewEvent class. This method is part of a private inner class -- the MakeEvent class -- which is also a thread object. You need to show us the run() method of the NewEvent class, in order for us to tell you what is happening.

Henry
 
arjan pronk
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the quick reply,



it seems its running now but just had a restricted api error so I'll be busy for a while

Thanks

arjan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!