Module java.desktop

Interface FocusListener

    • Method Detail

      • focusGained

        void focusGained​(FocusEvent e)
        Invoked when a component gains the keyboard focus.
        Parameters:
        e - the event to be processed
      • focusLost

        void focusLost​(FocusEvent e)
        Invoked when a component loses the keyboard focus.
        Parameters:
        e - the event to be processed