Link to home
Start Free TrialLog in
Avatar of DrWarezz
DrWarezz

asked on

Create Browser.

Hi - me AGAIN. :)

I would like to create a browser, basically.
I can connect to a server, request a document, etc.. I've programmed a Web Server before, so, I can handle that side of it. However, the bit that I know nothing about it displaying the webpage/document.
I know how to display a basic HTML files, as demonstrated here: http://www.javaalmanac.com/egs/javax.swing.text/ep_ShowHTML.html .

However, how would I go about enabling JavaScript, and Flash animations, etc..
Does there exist a package already that displays advance web pages?

I'm fluent in HTML, and pretty good a JavaScript (and I'm modest :P), but, I just don't know how to display a webpage! :(

Any links, or info would be MUCH appreciated.

Thanks in advance! :)

[r.D]
ASKER CERTIFIED SOLUTION
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DrWarezz
DrWarezz

ASKER

Thanks Tim :)
Could you give me some more info on writing some JNI layer that communicates with the user's chosen browser?

This would be much more useful for me as well, because the program I intend to write is not JUST a browser, I felt that there should be a feature to surf the web (as well as everything else). So, that would be useful.  :)

Thanks,
[r.D]
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for those, however;
-Are there no freeware APIs? :o(

I don't have the funds to purchase these APIs.

If none of you can think of any (free :P) alternative solutions, then it's okay, I'll split the points and leave it at that.

Thanks,
[r.D]
I dont believe that there are free for it right now, that API are actually hard to create and find, Maybe the best advice is you can
choose the cheepest or you create your own but remember that if you create your own it will include 3rd party language.
You have to have them communicate w/ java.

http://java.sun.com/docs/books/tutorial/native1.1/
http://java.sun.com/j2se/1.4.2/docs/guide/jni/

You can use this for integrating some .com or dll which you might need :
http://jawinproject.sourceforge.net/

Hope that helps . . .
Javatm
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
another browser in JDIC components, much similar way like javaworld article link posted above
https://jdic.dev.java.net/
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To add some value to this PAQ.

The source for currently the best browser in the industry - Mozilla - can be found here: http://www.mozilla.org/source.html