public void actionPerformed(ActionEvent e)
{
System.out.println ("Execute!");
final Window activeWindow =
FocusManager.getCurrentKeyboardFocusManager().getActiveWindow();
final Component focusOwner =
FocusManager.getCurrentKeyboardFocusManager().getFocusOwner();
final Component pfocusOwner =
FocusManager.getCurrentKeyboardFocusManager().getPermanentFocusOwner();
System.out.println ("Execute! 1 = " + activeWindow);
System.out.println ("Execute! 2 = " + focusOwner);
System.out.println ("Execute! 3 = " + pfocusOwner);