KeyboardFocusManager: clearGlobalFocusOwner() : KeyboardFocusManager « java.awt « Java by API






KeyboardFocusManager: clearGlobalFocusOwner()

 



import java.awt.KeyboardFocusManager;

public class Main {
  public static void main(String[] argv) throws Exception {

    KeyboardFocusManager.getCurrentKeyboardFocusManager().clearGlobalFocusOwner();
  }
}

   
  








Related examples in the same category

1.KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS
2.KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS
3.KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS
4.KeyboardFocusManager: addPropertyChangeListener(PropertyChangeListener listener)
5.KeyboardFocusManager: focusNextComponent()
6.KeyboardFocusManager: getFocusOwner()
7.KeyboardFocusManager: getFocusedWindow()