Example usage for java.awt KeyboardFocusManager focusNextComponent

List of usage examples for java.awt KeyboardFocusManager focusNextComponent

Introduction

In this page you can find the example usage for java.awt KeyboardFocusManager focusNextComponent.

Prototype

public final void focusNextComponent() 

Source Link

Document

Focuses the Component after the current focus owner.

Usage

From source file:ActionFocusMover.java

public void actionPerformed(ActionEvent actionEvent) {
    KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager();
    manager.focusNextComponent();
}