JTabbedPane with Keyevents

I have created a tabbedpane with 3 tabs (Tab1, Tab2, Tab3) . Mnemonic (ALT-F) is assigned only to the Tab1.

If any of the component is selected inside the Tab2 or Tab3, it can still traverse back to Tab1 on pressing key ALT-F. But if any component is selected in the Tab1 itself, pressing ALT-F will not take me back to Tab1. I have to somehow get the focus for Tab1 too.

Here is my code. Just copy-Paste to run it. Please provide assistance.

Thank you.

Note: I don�t want to set Mnemonic to each Tab. Only one Mnemonic should do my work.