chr.setParameter(ROOM, room);
chr.setParameter(SEQ_NUM, seqNumGenerator.getNext());
chr.setParameter(EVENT, CaptureEvents.MOUSE_LOCATION_EVENT.getEvent());
chr.setParameter(MOUSEX, mouseLoc.x);
chr.setParameter(MOUSEY, mouseLoc.y);
chr.post();
} catch (IOException e) {
e.printStackTrace();
} catch (ConnectionException e) {
System.out.println("ERROR: Failed to send block data.");
}