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

Making a Browser

 
colin shuker
Ranch Hand
Posts: 750
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I was wondering if it was possible to make a browser using standard java.
Or is it just too compicated for me to bother with?
Thanks
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Been done and a bit pointless never-the=less IMHO.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Netscape tried to do it, with lots of manpower thrown at it, and when browsers had way fewer features than today, and failed. So I'd say look for some other project that doesn't compete with powerful, free, native-code products on the market.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ofcourse it's possible in principle - you can make anything with Java.

Swing already contains classes that can render HTML (see the package javax.swing.text.html) so you won't have to write your own HTML renderer and parser from the ground up, although the Swing classes are most likely not as sophisticated as the major web browsers.

Java also has classes for reading data over HTTP (see java.net.HttpURLConnection).

So it's probably not too difficult to make a simple browser with Java.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As a matter of historical perspective, I would like to point out that when Java was first introduced, the most complex and powerful Java application was in fact the "Hotjava" browser. Google search for "hotjava browser" will get you to the source code.

It was pretty impressive at the time, especially the molecular model applet that let you rotate a "ball and stick" model in real time with the mouse.

Bill
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic