wood burning stoves 2.0*
The moose likes Java in General and the fly likes Is it possible to create a web browser object in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Is it possible to create a web browser object in Java" Watch "Is it possible to create a web browser object in Java" New topic
Author

Is it possible to create a web browser object in Java

Anil Verghese
Ranch Hand

Joined: Oct 11, 2006
Posts: 155
Hi,

Is it possible to create a web browser object in Java?

Anil
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41587
    
  54
That depends on what -exactly- you mean by "web browser object". You can embed a web browsing component like Lobo in a Swing application.


Ping & DNS - my free Android networking tools app
Anil Verghese
Ranch Hand

Joined: Oct 11, 2006
Posts: 155
I want to open a new browser using java code, to be able to open an new child window from that. In short to be able to move around both the child and parent window.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38436
    
  23
Look for a JEditorPane with its editable attribute set false.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
(historical note)One of the first serious Java applications created by the Java design team was a complete web browser called HotJava.(/historical note)
Archival copies can be found here.

This Wikipedia entry gives a nice history.

Bill
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

Although not clear from OP's post, smells like a Swing question. Moving to Swing forum.


apigee, a better way to API!
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
http://www.coderanch.com/t/344544/Swing-AWT-SWT-JFace/java/Displaying-HTML-Swing-application
 
Don't get me started about those stupid light bulbs.
 
subject: Is it possible to create a web browser object in Java