• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this probably'll help out :


http://java.ittoolbox.com/groups/technical-functional/java-l/displaying-html-in-jeditorpane-2853077
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 22784
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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