I'm writing a small plugin for IDEA and discovered a strange problem. I have a ToolWindow, just like TODO one, with two tabs in it. Each tab includes a toolbar that was created using open API action manager. I've added a change listener to the JTabbedPane that requests focus for the certain component when JTabbedPane selected tab changes. After component.requestFocus() is called the toolbar in the selected tab stops working - my AnAction implementation actionPerformed() method is not called (however update() method is called).
The more or less same TODO window works in the same situation (its components inside tabs receives focus when active tab changes) and toolbars works fine.
Any ideas where the problem could be? I'm working with the build 929.