[6592] in java-interest

home help back first fref pref prev next nref lref last post

Re: applet and mail

daemon@ATHENA.MIT.EDU (Justin C. Edelson)
Thu Apr 4 14:35:53 1996

Date:         Thu, 4 Apr 1996 12:52:44 -0500
Reply-To: Java Interest <JAVA-INTEREST@JAVASOFT.COM>
From: "Justin C. Edelson" <justin@AALN.ORG>
To: Multiple recipients of list JAVA-INTEREST
              <JAVA-INTEREST@JAVASOFT.COM>
In-Reply-To:  <19960404175037.0047cee9.in@archimedia.it>

On Thu, 4 Apr 1996, MASSIMO CARLI wrote:

> Hi all,
> I have a problem. I'd like make an applet and if I click the mouse on it i
> can send a mail with netscape. I tried put the applet inside an <A> ...</A>
> tag but it dosn't run. Please help me or give me some suggestion.
>                                         Thank You
>                                             Max

I don't believe this is possible. What you need to do is set up a
mouseDown method (I think that's the name of it, check the API docs).  If
you put showDocument(url) where url is a URL class that corresponds to a
"mailto:youraddresshere"  I think this will work, but I haven't tried it
(yet).

Justin

-----------------------------------------------------------------------------
Justin C. Edelson                                 juedelson@vaxsar.vassar.edu
Box 1721                                                      justin@aaln.org
Vassar College                          http://students.vassar.edu/~juedelso/
Poughkeepsie, NY  12601                                        (914) 451-3545

This e-mail is a work of fiction.  Names, characters, places and
incidents are either the product of the author's imagination or are used
fictiously.  Any resemblance to actual events or locales or persons,
living or dead, is entirely coincidental.
----------------------------------------------------------------------------

home help back first fref pref prev next nref lref last post