Two things I noticed.

1.) You never actually told it

System.exit(0); for your ending code, so it won't actually ever end.

2.) If you put that menu to pop up inside the do while loop,...