log.error(ex);
System.err.println(ex);
    public void sendClearPanelMsg() {        int tmp[]=new int[1];        tmp[0]=0;        Command comm=new Command(Command.CLEAR);        ObjectOutputStream os;        try {            out.reset();            os=new ObjectOutputStream(out);            os.writeObject(comm);            os.flush();            channel.send(new Message(null, null, out.toByteArray()));        }        catch(Exception ex) {            log.error(ex);        }    }