Commit - with AbstractPrint and Print

Pass the MainScreen and the information to be printed (such as an Event)
to the Print constructor. To print the file, use the Print method,
passing the result of your class' getGraphics() method, a new blank
PageFormat, and the number 0.