File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difficulty in developing a Web Browser in Java?

 
Ashish Rawat
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there,

I am developing a web browser in java. I am able to display simple HTML page but when it comes to Applet and JavaScript it is not working. I am using JEditorPane for browser window for displaying pages. The browser is unable to display Applet, JavaScript, Flash and advanced HTML tags.

Can anyone help me regarding this? Does anyone have an idea as to how to make a browser to understand various plug-ins regarding the above types?

Ashish
 
Stuart Gray
Ranch Hand
Posts: 410
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is that the JEditorPane component is not very advanced at the moment. I hit a similar problem before and gave up whilst looking for a third-party component to render HTML. I think you will have to try and better my search (probably not too difficult) or possibly even write your own component. Good luck!
 
todd runstein
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try JRex - http://jrex.mozdev.org/
 
Casper Maxwell
Ranch Hand
Posts: 88
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may try this list too:

http://www.java-tips.org/content/category/9/99/45/
 
Rachel Swailes
Ranch Hand
Posts: 434
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have also used JDIC in the past. Quite nifty but it basically embeds your default browser into your application.
 
shailesh Jammie
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
ashish u can use JDIC(java desktop integration component) where this API is giving facility to create your own web browser.
regards
shailesh chandra jamloki
uttranchal
 
Ashish Rawat
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Shailesh

Can you give me a little idea about how can i use JDIC in my code? I have downloaded that but after reading it also i am not getting an idea how to implement it in my code?
Well thanks for your nice suggestion.

Ashish
Vadodara
(Gujarat)
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic