In developing PasswordSafeSWT, I’ve never really been able to get URL launching working successfully (“Go to Password Safe Website” type stuff) on all platforms. I’ve toyed with BrowserLauncher (which seems to work great on Win32 and Linux but causes my OSX box all sorts of grief).

Well, after checking out some of the SWT newsgroups, the answer is much simpler than I thought. You can launch arbitrary programs using the Program class, and they launch with whatever app is associated with them (ie whatever is the default browser on the platform). So I just dropped the following line into my Action, and I was in business:

org.eclipse.swt.program.Program.launch("http://passwordsafe.sourceforge.net/");

I’m a raving fan-boy. I just love SWT….