Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

displaying HTML in a JEditorPane

843806Mar 25 2008 — edited Mar 25 2008
I'm trying to display this website WebCT in a JEditorPane, the code I have so far is:
public void setWebCT(){
		
		try{
		WebCT_Pane.setContentType("html");
		WebCT_Pane.setPage("http://webct.nottingham.ac.uk/webct/entryPageIns.dowebct");
		}//end try
		
		catch (IOException e){
			errorMessageDialogue(e.getMessage());
		}//end catch
	}//end setWebCT()
but it doesnt display the website properly, a screen shot of what displays can be found here:
[http://i2.photobucket.com/albums/y34/duncanbradshaw/Untitled.jpg]

Can anyone tell me what I'm doing wrong? Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 22 2008
Added on Mar 25 2008
4 comments
135 views