This is my code for this task after finding the answer in the help section. public void showWarning(){ this.stop(); } public void run(){ while(isAlive()){} } What I don't understand is , how does this thread ever call the showWarning method? From what I can gather the run method will run indefinitely without calling showWarning. Some insight please.