* The rectangle is drawn, memorized in the history and sent to the other
* users.
*/
public void mouseReleased(Double point, int scaleX, int scaleY) {
end = point;
Shape shape = new Rectangle(start, end, color, chat.getMyJID(), isFilled);
chat.draw(shape);
board.setCurrentShape(null);
}