If I want to load an HTML page to a off-screen JEditorPane, how can I know when the JEditorPane has completed the task?

Sandip Chitale

The JEditorPane fires the PropertyChangeEvent with property name "page" after completely finishing the loading of the page. Therefore you can add a PropertyChangeListener to the JEditorPane to detect the completion of the page load.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.