log.error(ex);
System.err.println(ex);
        public void mouseDragged(MouseEvent e) {            ObjectOutputStream  os;            int                 x=e.getX(), y=e.getY();            DrawCommand         comm=new DrawCommand(DrawCommand.DRAW, x, y,                                                     draw_color.getRed(), draw_color.getGreen(), draw_color.getBlue());            if(no_channel) {                drawPoint(comm);                return;            }            try {                out.reset();                os=new ObjectOutputStream(out);                os.writeObject(comm);                os.flush();                channel.send(new Message(null, null, out.toByteArray()));                Thread.yield(); // gives the repainter some breath            }            catch(Exception ex) {                log.error(ex);            }        }