Confused by Thread
I'm confused by the thread. Please help me straighten this out. Here comes
the question. I have a class which extends Frame and implements Runnable.
Let's say I have a button on the Frame and an ActionListener added to the
button. The Frame is formed and showed (show()) in the Constructor of the
class. What happens if there is nothing in the 'run' method? Is the thread
considered 'DEAD' right after I started it? If so, why would the Frame still
there and accepting events ('clicks'). If not, then shouldn't the Frame be
inactive or even disposed?
Thanks in advance!!
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL