onNodeWithName

Finds the single node whose Component.getName equals name.

Return

a handle that resolves lazily, failing on use unless exactly one node matches.

Parameters

name

the name to match, as SwingMatcher.hasName matches it.