If you ever wondered if there is an easy way to open a URL from your Java program in the user-default browser, with Java SE 6 there is. Unless your platform doesn't support this. The good news is that you can test if this is the case or not.
Read the rest of How to open a URL in the default browser.
Thanks for this code. It works great in my program. THank you thank you!!!
how to create a open button to execute the openuri project
Note that your comment doesn't show up immediately. I review each comment before I add it to this site.
Check the Follow this page option if you want to receive an email each time a comment is posted to this page, including yours. A link to turn this option off will be included with each email.
Internet adresses will be converted automatically. You can use the following notation to specify anchor text for a link: [url=http://example.com/]example text[/url].
Yes, it's quite easy in java 1.6 But how about java 1.5? I've found just this one:
Unfortunately it's not for desktop applications.