Results 1 to 4 of 4
Thread: program interaction possible?
- 02-19-2009, 12:49 AM #1
Member
- Join Date
- Feb 2009
- Posts
- 12
- Rep Power
- 0
program interaction possible?
I'm wondering how (and if it's possible) to "interact" with other program-windows(possibly none-java programs) through java.
Lets say I'm running a program who has an window/GUI open and i want to get my hands on the info that a server sends to that window/GUI. My thought would be to have a java-program that "hocks" to that window by clicking on it or something rather then that i check what port it's using and there "hijacking" the info.
Any ideas or other better solutions to this? What i really want to know is how i interact/read info from other programs that are not build to interact with this program.
Big thanks for any help.
-
Java is built to be able to be run on many different pieces of hardware and multiple operating systems, and for this to succeed, you loose the ability to program close to either the hardware or the OS. So the short answer here is: Java is not the tool you want to use for doing something like this. Yes, it may be possible with some fancy JNI code together with C++ code, but if you're going to do this, you might as well code the whole thing in C++ or C#.
- 02-19-2009, 01:09 AM #3
Member
- Join Date
- Feb 2009
- Posts
- 12
- Rep Power
- 0
That was pretty much my fear, since I'm only able to code in Java it's kind of a problem =).
Is it possible to listen to the right port then and "read" the data there?
-
Similar Threads
-
Execute A program from a Program!
By Moncleared in forum Advanced JavaReplies: 2Last Post: 02-22-2009, 05:17 PM -
Executing a program within a program
By gibsonrocker800 in forum New To JavaReplies: 5Last Post: 05-12-2008, 09:24 AM -
How to execute an External Program through Java program
By Java Tip in forum java.ioReplies: 0Last Post: 04-04-2008, 03:40 PM -
Object Interaction
By Jinxes in forum New To JavaReplies: 1Last Post: 12-03-2007, 01:05 AM -
How to execute an External Program through Java program
By JavaBean in forum Java TipReplies: 0Last Post: 10-04-2007, 10:33 PM
Bookmarks