Re: Getting Two Java Applets to Communicate with Each Other
- From: Roedy Green <look-on@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 00:45:35 GMT
On 30 Aug 2005 14:38:54 -0700, kvnsmnsn@xxxxxxxxxxx wrote or quoted :
>Is there a way in Java to write two applets in which one user using
>one applet can send messages to be read by another user using the
>other applet, at a potentially distant location?
Yes. Once you have the AppletContext you can call methods of the
other applets.
See http://mindprod.com/products1.html#CURRCON source code for an
example of how I do it. In CurrCon, if any Applets discovers the user
would like to use a different currency, it informs all the other
Applets who update their displays.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.
- Follow-Ups:
- Re: Getting Two Java Applets to Communicate with Each Other
- From: Andrew Thompson
- Re: Getting Two Java Applets to Communicate with Each Other
- References:
- Getting Two Java Applets to Communicate with Each Other
- From: kvnsmnsn
- Getting Two Java Applets to Communicate with Each Other
- Prev by Date: Re: Certification training in greater NYC area?
- Next by Date: Re: Exception NumberFormatException when creating an instance of JFileChooser
- Previous by thread: Getting Two Java Applets to Communicate with Each Other
- Next by thread: Re: Getting Two Java Applets to Communicate with Each Other
- Index(es):
Relevant Pages
|