This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming 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
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

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
18
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: 21803
104
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.
 
Attractive, successful people love this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!