I developed a desktop application in Java Swing. When I click a button, I want to open Microsoft Outlook. I am unable to figure it out to do this. Can anybody help me?
One approach is to use the Desktop class to open(File) for which Outlook is the default consumer. Or as pointed out by @Guillaume use Dekstop.mail() (or the overloaded variant) specifically for the email client.
Desktop
open(File)
Dekstop.mail()
1.4m articles
1.4m replys
5 comments
57.0k users