No, you cannot get a reference to a JFrame in another process. When you use Runtime.exec()
a totally new OS process is created with its own memory space and protections.
To accomplish what you want you could create a JMX-like interface that accepts commands that will either execute actions within a process or report back information from the process.