tab.requestFocus();
    public void installCG(SComponent component) {        super.installCG(component);        final STabbedPane tab = (STabbedPane) component;        InputMap inputMap = new InputMap();        inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, KeyEvent.ALT_DOWN_MASK, false), "previous");        inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, KeyEvent.ALT_DOWN_MASK, false), "next");        tab.setInputMap(inputMap);        Action action = new AbstractAction() {            public void actionPerformed(ActionEvent e) {                if (tab.getSelectedIndex() > 0 && "previous".equals(e.getActionCommand()))                    tab.setSelectedIndex(tab.getSelectedIndex() - 1);                else if (tab.getSelectedIndex() < tab.getTabCount() - 1 && "next".equals(e.getActionCommand()))                    tab.setSelectedIndex(tab.getSelectedIndex() + 1);            }        };        ActionMap actionMap = new ActionMap();        actionMap.put("previous", action);        actionMap.put("next", action);        tab.setActionMap(actionMap);    }