if (event.button == 1) { try { if (selection.y - selection.x > 0) { setClipboardContent(selection.x, selection.y - selection.x, DND.SELECTION_CLIPBOARD); } } catch (SWTError error) {     if (error.code != DND.ERROR_CANNOT_SET_CLIPBOARD) { throw error; } } }
void handleMouseUp(Event event) {	mouseDown = false;	mouseDoubleClick = false;	event.y -= topMargin;	endAutoScroll();}