Read numbers from java window

flyingimmi ---- flyingimmi at
Fri Feb 13 11:28:55 UTC 2009


I'm sorry for being so imprecise. The program that I'm talking about is a Java application 
with a  (swing / awt )GUI . I uploaded a screen shot:
sadly I have very little experience with 
swing/awt  I use Qt-jambi for GUI development. 


Date: Fri, 13 Feb 2009 21:50:23 +1100
Subject: Re: Read numbers from java window
From: allenfans at
To: flyingimmi at
CC: discuss at

What is a java window ?

On Fri, Feb 13, 2009 at 9:20 PM, Flyingimmi <flyingimmi at> wrote:

Hello all,

I'm trying to read continuously updated numbers from a java window. ( I
don't have the source code for the program)

I was  already able to do this using a custom OCR algorithm but this is a
bit slow and too error-prone.

Second I tried to find the memory address where the most recent value was
stored and simply checked the

same memory address over and over again. This work as well to some extend ,
after a changing period of time the new
values where stored a different location and I was not able to get access to
the updated values anymore. I can only suspect was happened but I guess some

kind of memory allocation. ( I was using the Sun Java Runtime on Ubuntu 8.10

Since all my ideas failed so far, I'm curious if there is a chance to read
number ( or characters ) from a java window
if I use OpenJDK. Any hint suggesting where I can find information for this

task a very much appreciated.

best regards flyingimmi

View this message in context:

Sent from the OpenJDK General discussion mailing list archive at

Videosuche - Ganz einfach mit der Live Search

More information about the discuss mailing list