Capture ToolWindow focus??

Can anyone tell me how to capture when my tool window goes out of focus? For example, the user is working in my tool window and then clicks into the editor window. I want to capture this so that I can save the data in my tool window.

Thanks,

James
Struts Console Plugin
http://www.jamesholmes.com/struts/

0
1 comment
Avatar
Permanently deleted user

Hello!

Please use java.awt.event.FocusListener.

--
Best regards,
Anton Katilin
-


JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"James Holmes" <itnadmin@jetbrains.com> wrote in message
news:1358354.1055647289801.JavaMail.itn@is.intellij.net...

Can anyone tell me how to capture when my tool window goes out of focus?

For example, the user is working in my tool window and then clicks into the
editor window. I want to capture this so that I can save the data in my
tool window.
>

Thanks,

>

James
Struts Console Plugin
http://www.jamesholmes.com/struts/



0

Please sign in to leave a comment.