To make the question more understandable, there is a software called CheatEngine, and basically what it does is, it collects all the bytes of the software that you're trying to work with and you can select any of those and change the value.
For example you want to change the score of any game. You can search for the value of the current score, and change it to what ever you would like.
Now the question is, is it possible to create something like that using java, that would take all the data from the memory, that the software you're trying to "hack" in to, uses?
Let me know which sources should I look up for.
P.S. If the post got grammar mistakes, I am sorry. I am from Russia and I am not the best in English language.