declare namespace java {
    namespace awt {
        namespace event {
            // @ts-ignore
            abstract class FocusAdapter extends java.lang.Object {
                // @ts-ignore
                constructor()
                /**
                 * Invoked when a component gains the keyboard focus.
                 */
                // @ts-ignore
                public focusGained(e: java.awt.event.FocusEvent): void;
                /**
                 * Invoked when a component loses the keyboard focus.
                 */
                // @ts-ignore
                public focusLost(e: java.awt.event.FocusEvent): void;
            }
        }
    }
}
