private void initActions()
    {
        findTextAction.setAction(FindTextAction.getInstance());
        findTextAction.setAccelerator(KeyStroke.getKeyStroke('F', Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(), false));
        quitProgram.setAction(QuitProgramAction.getInstance());
        quitProgram.setAccelerator(KeyStroke.getKeyStroke('Q', Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(), false));
        joinChannel.setAction(JoinChannelAction.getInstance());
        joinChannel.setAccelerator(KeyStroke.getKeyStroke('J', Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(), false));
        clearWindow.setAction(ClearWindowAction.getInstance());
        clearWindow.setAccelerator(KeyStroke.getKeyStroke('L', Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(), false));
        clearAllWindows.setAction(ClearAllWindowsAction.getInstance());
        clearAllWindows.setDisplayedMnemonicIndex(6);
        clearAllWindows.setAccelerator(KeyStroke.getKeyStroke('L', Toolkit.getDefaultToolkit().getMenuShortcutKeyMask() | Event.SHIFT_MASK, false));
        previousTab.setAction(PreviousTabAction.getInstance());
        previousTab.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, Event.SHIFT_MASK, false));
        nextTab.setAction(NextTabAction.getInstance());
        nextTab.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, Event.SHIFT_MASK, false));
        moveTabLeft.setAction(MoveTabLeftAction.getInstance());
        moveTabLeft.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(), false));
        moveTabRight.setAction(MoveTabRightAction.getInstance());
        moveTabRight.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(), false));
        closeTab.setAction(CloseTabAction.getInstance());
        closeTab.setAccelerator(KeyStroke.getKeyStroke('W', Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(), false));
        globalAway.setAction(GlobalAwayAction.getInstance());
        globalAway.setDisplayedMnemonicIndex(7);
        disconnect.setAction(DisconnectAction.getInstance());
        reconnect.setAction(ReconnectAction.getInstance());
        quickConnect.setAction(QuickConnectAction.getInstance());
        quickConnect.setAccelerator(KeyStroke.getKeyStroke("F7"));
        showNickList.setAction(ShowNickListAction.getInstance());
        showNickList.setAccelerator(KeyStroke.getKeyStroke('H', Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(), false));
        identity.setAction(IdentityAction.getInstance());
        identity.setAccelerator(KeyStroke.getKeyStroke("F2"));
        configure.setAction(ConfigureAction.getInstance());
        serverList.setAction(ServerListAction.getInstance());
        serverList.setAccelerator(KeyStroke.getKeyStroke("F2"));
        channelList.setAction(ChannelListAction.getInstance());
        channelList.setDisplayedMnemonicIndex(8);
        channelList.setAccelerator(KeyStroke.getKeyStroke("F5"));
    }