Re: Getting the size of another program window?



You can make a windows executable that when invoked on command line
prints out coordinates and dimensions. You can invoke this executable
from within Java and capture its output.

If you want to package the code into a jar then put the exe into jar,
read it into Java and write it out to temporary directory. Then use it
from temporary directory.

I've got C# code for the windows executable and Java code to bring
executable out of jar and to run it. Will sell it for 35 USD via
paypal.

Opalinski
opalpa@xxxxxxxxx
http://www.geocities.com/opalpaweb/

.



Relevant Pages

  • How does one locate the java executable and various JAR files in the classpath?
    ... Eclipse development to help contribute a useful answer. ... I have a JAR file which does some useful stuff, ... the context menu, and in responce to that, I'll invoke the JAR file, passing ... I want to run the "java" interpreter, ...
    (comp.lang.java.programmer)
  • Re: Java daemon
    ... daemon suffers from the same memory problem? ... The most common complaint that crosses implementations is the ... Java programmer has no permission to invoke it directly, ... Think about why you'd want to invoke the Java GC yourself, ...
    (comp.lang.java.programmer)
  • Re: JAVA as C (or C++) Front End
    ... Whenever I write and compile a ... > java program, I have to invoke it by calling Java.EXE. ... > software which is obviously written in Java which is invoked with an EXE ... One 'pro' for having the the C code invoke the java code is that you will then ...
    (comp.lang.java.programmer)
  • Re: java - invoke
    ... You have stumbled on one of the most subtle features of Java called ... You create call lists of parameters on the fly and invoke methods. ... It is a tool to allow java code to use arbitrary class files handed to ... You can usually get what you want without resorting to reflection ...
    (comp.lang.java.help)
  • Re: "Small" Program Challenge.
    ... happens when, with Java 7, you try to start a Java program with a ... but not before the attempt to invoke. ... Admittedly there was a bug in Sun's Java 1.4 whereby reference to the 'class' literal did cause class initialization, but they fixed that in Java 5. ... "The procedure assumes that the Class object has already been verified and prepared, and that the Class object contains state that indicates one of four situations: ...
    (comp.lang.java.programmer)