• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Open google with default search string?  RSS feed

 
Vishal A Shah
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends

How can i write a code which can open google.com with default search = JAVA?

Actually I want to create a startup utility which can invoke IE6 and open webpage with default value in all text boxes.
Thanks
 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since java 6 you can use the Desktop class which can open the default browser.

 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See http://www.centerkey.com/java/browser/ for something that also works with earlier Java versions.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!