File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Difficulty in developing a Web Browser in Java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Difficulty in developing a Web Browser in Java?" Watch "Difficulty in developing a Web Browser in Java?" New topic
Author

Difficulty in developing a Web Browser in Java?

Ashish Rawat
Greenhorn

Joined: Nov 13, 2005
Posts: 3
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

Joined: Apr 21, 2005
Posts: 410
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

Joined: Feb 15, 2005
Posts: 64
Try JRex - http://jrex.mozdev.org/
Casper Maxwell
Ranch Hand

Joined: Aug 04, 2005
Posts: 88
You may try this list too:

http://www.java-tips.org/content/category/9/99/45/
Rachel Swailes
Ranch Hand

Joined: May 18, 2004
Posts: 434
We have also used JDIC in the past. Quite nifty but it basically embeds your default browser into your application.
shailesh Jammie
Greenhorn

Joined: Nov 14, 2005
Posts: 11
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

Joined: Nov 13, 2005
Posts: 3
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)
 
Consider Paul's rocket mass heater.
 
subject: Difficulty in developing a Web Browser in Java?