The PageChangeEventmanager is in charged of
handling all page-changed events triggered by
Pages and notifying page-change listeners when
such an event is triggered.
Swing paint method for J-Component
Checks to see if the buffer has been cleared (or yet to be created),
if so then it redraws the buffer and then draws the image on the graphics2d or
else it uses the previous buffer.