Does that mean the program exits?
Try debugging the code by adding some println statements in the methods that are called so you can see where the execution flow is going. Print out a message when...