Desktop.mail(URI mailtoURI) is your friend!
Javadoc:
Launches the mail composing window of the user default mail client, filling the message fields specified by a mailto: URI.
A mailto: URI can specify message fields including "to", "cc", "subject", "body", etc. See The mailto URL scheme (RFC 2368) for the mailto: URI specification details.
Example Code:
Desktop desktop;
if (Desktop.isDesktopSupported()
&& (desktop = Desktop.getDesktop()).isSupported(Desktop.Action.MAIL)) {
URI mailto = new URI("mailto:[email protected]?subject=Hello%20World");
desktop.mail(mailto);
} else {
// TODO fallback to some Runtime.exec(..) voodoo?
throw new RuntimeException("desktop doesn't support mailto; mail is dead anyway ;)");
}