Accessible Gui text

{ This is an exploratory question to just find out if something is possible. }

The facts are these :
1. The java program is closed source, but is running on an accessible workstation.
2. The gui is written in AWT.
3. OS is windows
4. Windows tools like Spy++ can not "see" the components.
5. Rather not use java access bridge, if it can be helped.

Can text from a java Gui be read by another process?

Example solution: Write a small java program that loops through the awt containers to gather the name fields of each item. ( Not sure if thats possible, which is why I'm asking )

To add a jar in classpath and to access the classes from the methods they provide is naturale to Java. If the host program is the program that connects to the database. There is always classes that provide functions for you to get this datas. Trying to interupt a nother prosess will most likely cause the other prosess to fail. I don'tn recomment to do it your way by hacking your program into a nother process. This is dead before your got started.

What cind of process or program does you want to hack throug process? if uour are trying to access a windows COM object you must have a bridge for this. if you want to use a nother java app. You simply imports the desired jar archive and start coding of connection to the methods provided from this archive.

Thanks for you help Electron, as I said this was mostly a "what if" question. Win MFC based windows are an open book compared to java gui's when using C, VB, ect languages. I thought perhaps using a java program might allow you to work with other java processes and thus their Gui, this is not the case. Having never written in Java , I just wasn't sure. I am able to accomplish the goal by other means, so not all is lost.

I've been trying to read stuff from a Java GUI too.
It's for a Java based game, it has this list with item names and prices and I'd like to save a copy of this list for future reference. Of course I'm not gonna copy everything by hand so I had the idea to write a little app to do the dirty job for me.

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...