Listening to lost focus of JMenuBar

Discussion in 'Java' started by Dan Polansky, Aug 16, 2007.

  1. Dan Polansky

    Dan Polansky Guest

    How can a class listen to the event that JMenuBar has lost focus,
    after gaining it by user pressing F10 in Windows? I have tried to add
    FocusListener and KeyBoardListener to JMenuBar, but both are deaf,
    meaning the handler methods are never entered.

    Thank you, Dan
    Dan Polansky, Aug 16, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Simon Niederberger

    Handle JMenuBar with visible glass pane

    Simon Niederberger, May 18, 2004, in forum: Java
    Replies:
    2
    Views:
    1,026
  2. Ajay

    JMenuBar and JPanel

    Ajay, Sep 23, 2005, in forum: Java
    Replies:
    1
    Views:
    15,616
  3. Replies:
    0
    Views:
    379
  4. Spendius
    Replies:
    5
    Views:
    363
    Arne Vajhøj
    Oct 13, 2008
  5. Roger
    Replies:
    3
    Views:
    299
Loading...

Share This Page