I want to add a menu that will send a mail via outlook something like “mailto” in html
I am not sure that this is right forum for this kind of question ,if not I will appreciate If you could direct me to the right forum.
Well a swing menu is just like any other event source like a button.
You add a listener to the source, trap the event and process it. Quite straight forward.
In your case, the processing part is actually sending the mail. Since this is a java application, I presume you would wish to use JavaMail to send the mail.
Moving to the appropriate forum where you can get a better response.
chen young
Ranch Hand
Joined: Sep 09, 2005
Posts: 177
posted
0
I don't want to use java mail.
i need to use outlook (like mailto link in HTML)
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35220
7
posted
0
The java.awt.Desktop class in Java 6 can launch the desktop email client.