Example usage for javax.swing JFrame setFocusTraversalKeysEnabled

List of usage examples for javax.swing JFrame setFocusTraversalKeysEnabled

Introduction

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

Prototype

public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled) 

Source Link

Document

Sets whether focus traversal keys are enabled for this Component.

Usage

From source file:Main.java

private static void doDisableActiveRenderingInEDT(final JFrame jFrame) {
    jFrame.getRootPane().setOpaque(true);
    jFrame.setFocusTraversalKeysEnabled(true);
    jFrame.setIgnoreRepaint(false);/*from  www .j a v  a2 s  .c  o m*/

    doSetIgnoreRepaint(jFrame, false);
}