Meaningless Drivel is fun!
The moose likes Threads and Synchronization and the fly likes Fire an event from a thread? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply locked New topic

Fire an event from a thread?

Warren Bell
Ranch Hand

Joined: Dec 20, 2000
Posts: 56
I have a thread that checks for a certain file to appear in a folder. I need this thread to notify the object it was created in that the file was found. Can I fire an event from the thread? Or is there a better way of doing this. If I can fire an event from a thread, how do you do that?
Warren Bell
[ June 25, 2003: Message edited by: Warren Bell ]

Warren Bell
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
Please don't post duplicate questions in different forums. Followups please go here. Thanks.

"I'm not back." - Bill Harding, Twister
I agree. Here's the link:
subject: Fire an event from a thread?
It's not a secret anymore!