Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

invoking internet explorer from Swing GUI

 
srk
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

Is there a way to invoke internet explorer from a Swing screen?
for e.g. can we show a url on a swing screen and when the user clicks on that the url it is opened in IE

Any help would be appretiated

Thanks in advance
Shradha
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

You could display the URL as the text on a JLabel, and then handle clicks on that label. Opening an URL in a browser can be accomplished with the help of the Bare Bones Browser Launcher class.
 
srk
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot!
Regards
Shradha
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic