Try to follow the flow of the program by using println to log what is happening. Try to determine where things do not happen as you expect. Include as many details with your question as you can.
...