Interface SwingFocusable.Handler

Enclosing interface:
SwingFocusable

public static interface SwingFocusable.Handler
Handler providing means to actually give the focus to a focusable. A handler might use situation-dependent mechanisms to ensure the focus is given to the component in question.
Since:
4.2.405
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    focusOn(@Nullable JComponent component)
    Sets the swing focus to the given component.
  • Method Details

    • focusOn

      void focusOn(@Nullable @Nullable JComponent component)
      Sets the swing focus to the given component.
      Parameters:
      component - The component to give focus.
      Since:
      4.2.405