boolean () { // Forward the focus to the tooltip contents so that screen readers announce // the tooltip contents right away. if (myPane != null) { return myPane.requestFocusInWindow(); } if (myColored != null) { return myColored.requestFocusInWindow(); } if (myIcon != null) { return myIcon.requestFocusInWindow(); } return super.requestFocusInWindow(); }