Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading Webpage in JFrame

 
henri henri
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 410
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In this case I will change my JApplet to a JFrame and have it started from my main application.

Thanks for your answer.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic