Click here to Skip to main content
15,891,845 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi everyone,

I'm creating a Win32 application that controls another application which is coded in Java using AWT components. I figured that if I can retrieve the main List of the application and cast it with the JLIB library I'd be able to read its content.

First of all, am I right or I won't be able to get the real content of the List ? If I'm right I'd like to know how to achieve this since I didn't found any good spy software for Java and Spy++ only show a SunAwtComponent. Which I presume in the container for the whole Java application.

I'm not expecting someone to tell me how to do the whole thing but only a couple of direction would be really great since I've been looking for that for a while now.

Thanks for the replies !!!
Posted

If I understand what you're trying to do...

...since everything that is visible in the Java window is NOT drawn using standard Windows controls, like textboxes and buttons, they don't have handles and thus, don't have any window messages going to them, so Spy++ won't do you any good.

The Java applet is going to have to expose this list to you itself.
 
Share this answer
 
Thanks for the reply Dave...

Do you think it would be possible to do what I want to do with a Java application ? I REALLY need to be able to do this and it's driving me crazy. :laugh:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900