public final class ComponentHasFocusQuery extends Object
Component has input focus. This query is executed in the event dispatch
thread (EDT.)@RunsInEDT public static boolean hasFocus(@Nonnull Component component)
Component has input focus. This query is executed in the event
dispatch thread (EDT.)component - the given Component.true if the given Component has input focus, false otherwise.Component.hasFocus()Copyright © 2014 AssertJ. All rights reserved.