Return « Thread « Java Swing Q&A





1. What is the correct way to make a thread return a value?    stackoverflow.com

I'm new to Java threads and after testing to see how they work, I can't figure out how to make them do calculations and return the result the way I want. For ...

2. How can i get a string value in return of a thread class to use to show current time?    java-forums.org

Buddies just get me out of this situation please... I am making a swing GUI application in which i need to show current time by a label.... Can i get a thread class that can run alon with my GUI and returns the current time or update the current time that can b use as text for theat label????