Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

JEditorPane is not displaying a htm page properly: ActiveX issue

 
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.
 
Ranch Hand
Posts: 67
Mac Eclipse IDE Spring
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • 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.
 
Sheriff
Posts: 22015
108
Eclipse IDE Spring VI Editor Chrome Java Ubuntu 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic