If this is all what the main() should do sequentially, then after the user input it's sufficient to create a loop using appropriate "delays" (technically robot.delay() or Thread.sleep() methods) to...