log.error(ex);
System.err.println(ex);
    public void actionPerformed(ActionEvent e) {        String command=e.getActionCommand();        if("Gossip".equals(command)) {            sendGossip();        }        else            if("Clear".equals(command))                sendClearPanelMsg();            else                if("Leave & Exit".equals(command)) {                    try {                        channel.disconnect();                        channel.close();                    }                    catch(Exception ex) {                        log.error(ex);                    }                    mainFrame.setVisible(false);                    System.exit(0);                }                else                    System.out.println("Unknown action");    }