Identifying Images from an Applet

M

Mike

Hi All,

I have a problem that I am unable to solve at the moment. I was
wondering how to go about creating a java application that is able to
identify/log when a specific image was displayed on a completely
separate java applet. At the moment, I have absolutely no idea where
to even start. Would anyone be able to point me in the right
direction?

Thanks in advance,
Mike
 
O

Oliver Wong

Mike said:
Hi All,

I have a problem that I am unable to solve at the moment. I was
wondering how to go about creating a java application that is able to
identify/log when a specific image was displayed on a completely
separate java applet. At the moment, I have absolutely no idea where
to even start. Would anyone be able to point me in the right
direction?

I don't think this is possible unless you're in control of the this
"completely separate java applet". Can you modify its source code? Can you
load it within your own class loader?

- Oliver
 
R

Roedy Green

I have a problem that I am unable to solve at the moment. I was
wondering how to go about creating a java application that is able to
identify/log when a specific image was displayed on a completely
separate java applet.

Have a look at the source code for CurrCon at
http://mindprod.com/products1.html#CURRCON

An applet can discover and call methods on other applets running on
the same page. So basically what you need is for a applet to
broadcast what is it doing to the other applets by calling their
methods.

You can simply have every Applet tell every other applet in the group
what it is up to, or you can set up a listener, much the way you do
with Events on a Component.

If what you are trying to do is monitor what other Applets are up to
and they don't want to co-operate, you are going to need to do
something much fancier and platform specific to insert a proxy server
so you can monitor what they are up to.
 
M

Mike

Thanks Guys,

I saw a hearts counter (where a separate application is able to
determine which cards have been played in the yahoo hearts applet i.e.
I cannot modify its source code) and it got me thinking. I want to try
and create one myself but it looks like it is out of my league for the
time being. I will follow up on the source code above and see where it
gets me.

Cheers,
Mike
 
O

Owen Jacobson

Thanks Guys,

I saw a hearts counter (where a separate application is able to
determine which cards have been played in the yahoo hearts applet i.e.
I cannot modify its source code) and it got me thinking. I want to try
and create one myself but it looks like it is out of my league for the
time being. I will follow up on the source code above and see where it
gets me.

It's entirely possible that the heart counter monitors the messages
between the game client and the yahoo servers. The message format's
probably not all that obscure.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top