Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

Identifying Images from an Applet

Thread view: 
Mike - 18 Apr 2006 15:08 GMT
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
Oliver Wong - 18 Apr 2006 18:38 GMT
> Hi All,
>
[quoted text clipped - 4 lines]
> 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
Roedy Green - 18 Apr 2006 20:22 GMT
On 18 Apr 2006 07:08:02 -0700, "Mike"
<michael.cherry@originenergy.com.au> wrote, quoted or indirectly
quoted someone who said :

>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.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Mike - 19 Apr 2006 02:03 GMT
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
Owen Jacobson - 19 Apr 2006 04:03 GMT
> Thanks Guys,
>
[quoted text clipped - 4 lines]
> 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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.