ui-automation
Java wrapper for ms-uiautomation
View on GitHub
Unfortunately it looks like
Swing
is largely opaque to the automation APIs.