Read content from Java GUI without having the source code

100 Views Asked by At

I want to read content in a Java program which uses Java GUI as the frontend. Usually I would do this with FlaUI in C# but since Java GUI is not mainly a Windows Application, I can't use FlaUI on it. I don't need to invoke buttons or click in the screen, but I need to read information so my program can create logs to it.

The Java program looks like this:

enter image description here

I need to read the COM Port, if the "Rmv" checkbox is checked and the "min" value. I know it's possible to do using library like SikuliX but I can't let the Java program in first layer all the time because I need to use the computer and I need to get informations every 5 seconds. I can use any commom language to do this automation program (C, C#, C++, Python, Java, JS..), I just need a help to find the way to do this.

0

There are 0 best solutions below