Focus Loss with JMenuBar

Discussion in 'Java' started by srinivas.veeranki@gmail.com, Sep 21, 2006.

  1. Guest

    Hi All,

    I am using the Java version 1.4.2_10. In my windows application, It
    contains Menubar and JFormatetdText Fields and other components. I
    entered partial Value into Formatted TextField, at tht time I Clicked
    on the Menu bar with mouse, At tht time isTemporary() of FocusEvent
    method is returning false. But actually it lost the focus permanently.
    When ever I clicked on the other components in the window,
    isTemporary() giving the True value. Is there any solution to get the
    permanent focus loss, when ever I clicked on Menu bar. Can you please
    suggest me. In my application, I am unable to remove isTemporary()
    method because if i minimize the window, focus lost event fires. I used
    this method to restrict the unnecessary firing of focus loss events.
    Please help me Regarding this problem.

    Thanks & Regards,

    Srinivas.
    , Sep 21, 2006
    #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,042
  2. Ajay

    JMenuBar and JPanel

    Ajay, Sep 23, 2005, in forum: Java
    Replies:
    1
    Views:
    15,658
  3. Jason Cavett

    Add Listeners to JMenuBar

    Jason Cavett, Oct 4, 2006, in forum: Java
    Replies:
    1
    Views:
    1,422
    Shawn
    Oct 4, 2006
  4. Dan Polansky

    Listening to lost focus of JMenuBar

    Dan Polansky, Aug 16, 2007, in forum: Java
    Replies:
    0
    Views:
    358
    Dan Polansky
    Aug 16, 2007
  5. Roger
    Replies:
    3
    Views:
    320
Loading...

Share This Page