Replaced java.awt.event. with the fitting import