Week 4: Introduction Last week we discussed Why we want to use graphical components Event-driven programming Program reacts to user's actions We have event generators…