This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am fairly new to java and have a few questions about interprocess communication (i think it's called interprocess communication)...
Is it possible for a java application to trigger gui event's in another java application without modification to the affected application? Basically i am wondering if there is a java equlivant to the windows SendMessage() function that can be sent from one application to another.
As an extension to this problem, is it possible to enumerate the components of a java gui (from another java application), and aquire the porperties of each component? Kind of like a java version of the windows Spy++ program that comes with Visual Studio.
My long term goal is to write a universal Spy++ like program that works with windows components and java components alike.
Perhaps, with some exceedingly hairy use of the debugger API, this might be possible, but I don't think so. You could attach to the process easily enough, and walk around in the GUI components, but I'm not sure you could send any events that way. In any event, it's not for the faint of heart!