FlatUIUtils.isPermanentFocusOwner()
hasFocus()
This sub-project contains the FlatLaf core source code.