A new interface has been created PageLoadingListener which allows a user to programatically listen for events fired during the parsing and painting a of a page. The JavaDoc for org.icepdf.core.events.PageLoadingListener has been updated to explain the ordering of when each event type is expected.
The Viewer RI has been updated so that the PageViewComponentImpl will now show a wait cursor while the page is being loaded. A new example ./examples/loadingEvents/PageLoadingEvents.java has also been added which uses the new reference class org.icepdf.ri.common.views.listeners.MetricsPageLoadingListener which will write to the console metrics information of each page that is loaded in a document specified at the command line.
As a side note it's really nice to see the wait cursor back in Viewer RI during a page load.