Only initialize JEditorPane when required.