Example usage for javax.swing JFrame isFocusOwner

List of usage examples for javax.swing JFrame isFocusOwner

Introduction

In this page you can find the example usage for javax.swing JFrame isFocusOwner.

Prototype

public boolean isFocusOwner() 

Source Link

Document

Returns true if this Component is the focus owner.

Usage

From source file:Main.java

public static void main() {
    JFrame f = new JFrame();

    boolean b = f.isFocusOwner();
}