>Apparently, the getApplets method of the AppletContext class does not
>work correctly in JRE 1.4.2_13.
Using which browser (make and version) on which OS (make and version).
Why are you using an obsolescent Java?
Why are you using applets?
>..I've listed the individual
>enumerations, to no avail.
What's the URL of your test case?
>I am using the OBJECT tag to embed the applets into HTML..
>
>Does anyone have experience using this method successfully with a
>later version of the JRE?
I vaguely recall seeing it work with later versions, but it only
identifies applets within the same VM instance. It is up to
the browser as to whether different frames, tabs or instances
are *run* using a separaate VM (and that might be the real
problem here).
>Thanks in advance for any help you may provide.
No worries. Note that to get any further help from me
on the subject of applets, you will need to answer each
of my questions.

Signature
Andrew Thompson
http://www.physci.org/
On Wed, 5 Dec 2007 13:28:26 -0800 (PST), "John L."
<lashlaru83@juno.com> wrote, quoted or indirectly quoted someone who
said :
>Apparently, the getApplets method of the AppletContext class does not
>work correctly in JRE 1.4.2_13. I've listed the individual
>enumerations, to no avail.
I use that method in the CurrCon Applet. Try going to
http://mindprod.com/applet/currconmanual.html
Try changing the country. The prices on the entire page should change
in unison. If they don't, you might have a problem with 1.4.2_13. If
they do, your problem is you are likely not using getApplets properly.
Check the source code in the CurrCon download. See
http://mindprod.com/products1.html#CURRCON

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Andrew Thompson - 06 Dec 2007 13:03 GMT
...
>I use that method in the CurrCon Applet. Try going to
>http://mindprod.com/applet/currconmanual.html
>
>Try changing the country. The prices on the entire page should change
>in unison. If they don't, you might have a problem with 1.4.2_13. If
>they do, your problem is you are likely not using getApplets properly.
I'll make a wild, (semi) educated guess that you are wrong in
the assumption that the OP has made any programming error.
As I mentioned in my reply. The behaviour of the 'getApplets'
method is entirely at the 'mercy' of the browser's decision as
to when to spawn a new VM - and that is ..
a) Not specified by Sun, and therefore..
b) Quite unpredictable.
OTOH - I would not be sad to see *evidence* that I was wrong.
Which pretty much kicks it back to the OP.
Does Roedy's applet fail in the same way?
(If so - my conjecture might be correct, if not,
I just wasted some (more) bandwidth.)

Signature
Andrew Thompson
http://www.physci.org/
John L. - 06 Dec 2007 18:40 GMT
On Dec 6, 7:53 am, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> On Wed, 5 Dec 2007 13:28:26 -0800 (PST), "John L."
> <lashlar...@juno.com> wrote, quoted or indirectly quoted someone who
[quoted text clipped - 13 lines]
> Roedy Green Canadian Mind Products
> The Java Glossaryhttp://mindprod.com
Thank you, (or perhaps Merci beaucoup). The error was in handling the
result of the getApplets().
Randy's CurrCon example worked with IE 7.0 (alas, not Opera 9.10), and
Java 1.4.2_16.
I was using the toString() method of the returned result, rather than
an instanceof comparison.