Java thread, accessing object in main code
Posted
by Tim
on Stack Overflow
See other posts from Stack Overflow
or by Tim
Published on 2010-04-23T12:34:09Z
Indexed on
2010/04/23
12:43 UTC
Read the original article
Hit count: 131
In Java, I want to download some data asynchronously in a Thread (or Runnable) object, and have the Thread put it's data into an Object I've declared within my main Thread.
How could I do this please?
© Stack Overflow or respective owner