__UNDOCUMENTED__
Object source = event.getSource();
assert (source != null);
// --
if (source == yesBtn) {
// .. do code
} else if (source == noBtn) {
// .. do code
} else if (source == cancelBtn) {
// .. do code
} else {
assert false : "Invalid Source: " + source.toString();
}