• Post Reply Bookmark Topic Watch Topic
  • New Topic

JEditorPane is not displaying a htm page properly: ActiveX issue  RSS feed

 
buntha Choudhary
Ranch Hand
Posts: 136
Android Eclipse IDE Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to display a .htm page in a JEditorPane but the display is not proper.
I found that when we try to open that web page in IE , it asks for ActiveX plugin and then it opens properly. But how to resolve the same for JEditorPane.
 
buntha Choudhary
Ranch Hand
Posts: 136
Android Eclipse IDE Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a JEditorPane object do not understand html pages with embedded JavaScript or ActiveX components. If you attempt to view such pages with a JEditorPane, errors will be reported.

Got this from http://www.sethi.org/classes/cis435/lab_notes/tutorial_swing_components.html. But how to resolve the above or any alternative.
 
Dhruva Mistry
Ranch Hand
Posts: 67
Eclipse IDE Mac Spring
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to evaluate lobo browser
 
buntha Choudhary
Ranch Hand
Posts: 136
Android Eclipse IDE Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to use JDIC and I successfully got the url content as well but when I am trying to use some html files in the plugin then the HTML files are not being fetched.
Any input.
 
Rob Spoor
Sheriff
Posts: 21131
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ActiveX is an (evil) Internet Explorer only technique for displaying content that cannot be rendered in HTML itself. It's not supported by any other browser. It is not, and probably will not, be supported by Java. There may be a third party library somewhere but I wouldn't count on it.

To be honest, I consider this site to be crippled. It apparently has no support for any other browsers, including Firefox, Google Chrome and Safari. That takes away quite a big chunk out of the potential user base.
 
buntha Choudhary
Ranch Hand
Posts: 136
Android Eclipse IDE Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Prime wrote:ActiveX is an (evil) Internet Explorer only technique for displaying content that cannot be rendered in HTML itself. It's not supported by any other browser. It is not, and probably will not, be supported by Java. There may be a third party library somewhere but I wouldn't count on it.

To be honest, I consider this site to be crippled. It apparently has no support for any other browsers, including Firefox, Google Chrome and Safari. That takes away quite a big chunk out of the potential user base.



I got the desired result through jcid plugin but I am now interacting with a new issue.
As I am building a Eclipse plugin, I have a dump of linked html and those htmls are not coming as a part of the plugin.
I mean when we try to create plugin , the html contents are not coming. So how should I resolve this issue. Am I need to include something with the classpath.
 
buntha Choudhary
Ranch Hand
Posts: 136
Android Eclipse IDE Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way/tool to remove all the activeX and .swf content from HTML package.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!