 Many modern-day programming environments provide the programmer with event templates, allowing the programmer to focus on writing the event code.The second step is to bind event handlers to events so that the correct function is called when the event takes place.Graphical editors combine the first two steps