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!!
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center