• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Launching a browser through a Swing Application

 
Fardeen Siddiqui
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am making an application using swing. can someone please tell me how can i opne the default browser and give it a URl through a click event from my application
thanx
fardeen
[This message has been edited by Fardeen Siddiqui (edited December 22, 2000).]
 
Frank Hale
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try the following code. I modified some tutorial code which will load a URL into a browser from a Java app.
Note: If somebody knows the original authors name I'd like to give credit in my code to him. I modified his code and am releasing my code under the GPL. There is more notes in the comments.
Have fun!
 
Fardeen Siddiqui
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Frank,
thanx a lot for the help..
it was a great help
fardeen
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic