Object source = e.getSource(); if (source == panel ) tabPane.requestFocus(); else if (source == tabPane) tabPane.repaint();
    public void focusGained(FocusEvent e)    {      // FIXME: Implement.    }