wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Loading Webpage in JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Loading Webpage in JFrame" Watch "Loading Webpage in JFrame" New topic

Loading Webpage in JFrame

henri henri
Ranch Hand

Joined: Oct 03, 2005
Posts: 115
Hello. I would like to be able to display a webpage in a JInternalFrame located in the centre of my application. This code works for some webpages. My webpage has a small Applet in the middle, but the Applet does not appear even though it does in a browser such as IE. I have used here a JFrame for the purposes of testing.

Stuart Gray
Ranch Hand

Joined: Apr 21, 2005
Posts: 410
The EditorPane/HTMLEditorKit are quite limited still - applets are one of the things that cannot display (at least, I have never been able to make them do so!).
henri henri
Ranch Hand

Joined: Oct 03, 2005
Posts: 115
In this case I will change my JApplet to a JFrame and have it started from my main application.

Thanks for your answer.
I agree. Here's the link: http://aspose.com/file-tools
subject: Loading Webpage in JFrame
Similar Threads
setText doesn't display html!
JEditorPane problem displaying non-English text in 1.4 (Linux)
Image not displayed in JEditorPane
retrieving string from a webpage
display web page