Recording of actions by user for replay and creating a video file for it using java.