public final class ComponentHasFocusQuery extends Object
Component
has focus or not.Component.hasFocus()
@RunsInEDT public static boolean hasFocus(Component component)
Component
has input focus or not. This action is executed in the
event dispatch thread.component
- the given Component
.true
if the given Component
has input focus, false
otherwise.Component.hasFocus()
Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.