From Section 20.4 in our book:
In your product, you may want to provide an easy way for users to reach your Web site or quickly compose an email to your company. Start by creating a button that opens a browser on your product’s Web page or creates an email message in the user’s default email client when clicked. The simple approach is to use the launch() method in the org.eclipse.swt.program.Program class (see Section 15.4.2, “Opening a web page”), but unfortunately, that approach does not work with platforms other than Windows. A more comprehensive approach involves platform-specific code.
Here is that more comprehensive approach
![]() |
--- Work in progress --- |
These tools are available to you "as-is" free of charge under Eclipse CPL and thus I work on it in my free time. I have not had time to fully clean them up yet, but please send me email and I'd be happy to send you the work in progress as it exists.