Keyboard Maestro cannot “see” Java-based app

Keyboard Maestro cannot seem to see Trader Workstation, a Java-based app.

It shows up in the native application switcher (as TWS)

but cannot be seen in the keyboard Maestro switcher.

Even though the TWS application is running, the following command in my script times out:

Is there an alternate way to switch to the TWS window or, more generally, get Keyboard Maestro to recognize it?

Hey Stephen,

Have a look at this thread for ideas: