Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problems with a JEditorPane  RSS feed

 
Allaz Funter
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I'm using a JEditorPane to format HTML text received from my proxy server. Thus, it's acting as a basic client web browser. I'm getting back the HTML pages requested by the user from the browser but when the pages are received they are formatted in a very crude fashion by the JEditorPane, where even the actual HTML code of the pages been printed to the screen rather than the images or proper text. I know its not the most advanced component are there is certain data it won't format but it's really bad.
If anyone knows of any other Java component I could use to format a web page back from the Internet it would be gratefully appreciated. I've been looking but it seems as if the JEditorPane is the closest I'll get.
Thanx a mil...
 
raj madhuram
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Allaz,
If you are on Windows and don't care about cross-platform compatibility, you may want to take a look at this:
http://www.codeproject.com/java/javacom.asp
You can embed Internet Explorer inside the Swing app.
regards,
Raj
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!