This does not seem to be a problem of the Editor pane. But your desing seems to be having some problem. you seem to want to navigate a set of panels using a HTML page on a JEditor pane. Maybe u must change it a little bit and try loading the panels dynamically or use some gridlayout and put the required panel on the first grid in response to a click.
hope that helps