// fails, we want the focus to stay on the disabled
// Component so that keyboard traversal, et. al. still
// makes sense to the user.
autoTransferFocus(false);
}
ComponentPeer peer = this.peer;
if (peer != null) {
peer.disable();
if (visible) {
updateCursorImmediately();
}
}
}