posted 18 years ago
I have divided my Application frame in two, I am trying to load a HTML page (Main.html) in one of them.
c is a container which holds eveything.
mip is the JEditorPane which should display the HTML.
The problem is that I get a blank, white JScrollPane instead of one displaying my HTML page.
Heres what Ive got:
My Main Method (scrap):
etc etc...
And the CreateInfoPane Method, to load in the HTML etc:
Im pretty sure the CreateInfoPane method is ok, I think the way I add the pane to the container in the main method is the problem. Any suggestions would be greatly appreciated,
Thanks,
Eoin.