JEditorPane by default does not follow meta refresh links like
JEditorPane
<META HTTP-EQUIV="refresh" CONTENT="3; URL=http://www.google.com">
This code should activate the refresh1)
editor.getDocument().putProperty(Document.StreamDescriptionProperty, null);