winow and focus events in JWindow
0 posts in topic
Flat View  Flat View

Posted By:   joro_simeonov
Posted On:   Thursday, July 4, 2002 05:25 AM


I have a class that extends JWindow and contains one JList and one JtextArea. i want to hode this window when it loses focus. this i can do if i add focuslistener to list and textarea and hide window on focusLost, BUT if focus is swapped between list and textarea this doesnt work - how can i determnine if the whole window loses focus or just focus goes from textarea to the list and vice versa

maybe i can do it in windowClosing or windowDeactivated but they dont ever get called :((


About | Sitemap | Contact