log.error(ex);
System.err.println(ex);
    public void sendClearPanelMsg() {        int                  tmp[]=new int[1]; tmp[0]=0;        DrawCommand          comm=new DrawCommand(DrawCommand.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);        }    }