List of usage examples for javax.swing JFrame isFocusOwner
public boolean isFocusOwner()
Source Link
From source file:Main.java
public static void main() { JFrame f = new JFrame(); boolean b = f.isFocusOwner(); }