jQuery in Action, 2nd edition*
The moose likes Swing / AWT / SWT and the fly likes How to detect when a JInternalFrame becomes visible ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to detect when a JInternalFrame becomes visible ?" Watch "How to detect when a JInternalFrame becomes visible ?" New topic
Author

How to detect when a JInternalFrame becomes visible ?

Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 448
    
    1

Hi guys,

I'd like to know if there's a way to detect when a JInternalFrame becomes visibile, i.e it's displayed on a JDesktop. I was thinking about some specific Listener but no luck in searching for it.
Any hint ?

Regards.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
ComponentListener for visible
InternalFrameListener for Active/Iconified etc
Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 448
    
    1

Thanks, man. I'll try it immediately.

Regards.
 
 
subject: How to detect when a JInternalFrame becomes visible ?