@Override
public boolean isFocusable() {
java.awt.Component[] comps = getComponents();
for (int i = 0; i < comps.length; i++) {
if (comps[i] instanceof WidgetWrapper) {
Widget widget = ((WidgetWrapper) comps[i]).widget();
if (widget instanceof org.nlogo.window.ButtonWidget) {
org.nlogo.window.ButtonWidget button =
(org.nlogo.window.ButtonWidget) widget;
if (button.actionKey() != '\0' &&
button.actionKey() != ' ') {