aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How do I get a JButton to invoke a web browser? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How do I get a JButton to invoke a web browser?" Watch "How do I get a JButton to invoke a web browser?" New topic
Author

How do I get a JButton to invoke a web browser?

Burt Reynolds
Greenhorn

Joined: Nov 26, 2003
Posts: 2
I wnat to invoke a web browser from within a stand-alone java application when the user clicks on a button. How do I do it?
Brian Pipa
Ranch Hand

Joined: Sep 29, 2003
Posts: 299
Just use BrowserLaunhcer when the user presses the button.
http://browserlauncher.sourceforge.net
Brian


My Java Freeware:<br />MACCC - <a href="http://maccc.pipasoft.com" target="_blank" rel="nofollow">http://maccc.pipasoft.com</a><br />Nator - <a href="http://nator.pipasoft.com" target="_blank" rel="nofollow">http://nator.pipasoft.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I get a JButton to invoke a web browser?