Java on a Mac: How do I detect when my application receives focus?
        Posted  
        
            by Stuart
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Stuart
        
        
        
        Published on 2010-05-22T19:43:26Z
        Indexed on 
            2010/05/22
            19:50 UTC
        
        
        Read the original article
        Hit count: 241
        
I looked through ApplicationListener, and they don't have it in there. On a Mac, it's when that application has the equivalent of focus; its menu is in the top menu bar.
Also, if you know this, could you tell me how my application can request to de-focus itself?
© Stack Overflow or respective owner