int offset = model.xyToOffset(evt.getX(),evt.getY());  int mark = model.getMarkPosition();  if(offset < mark) { model.select(offset,mark); model.setLeftBias(true); } else { model.select(mark,offset); model.setLeftBias(false); }
model.select(model.getMarkPosition(), model.xyToOffset(evt.getX(),evt.getY()));
		public void mouseDragged(MouseEvent evt)		{			int offset = model.xyToOffset(evt.getX(),evt.getY());			int mark = model.getMarkPosition();			if(offset < mark)			{				model.select(offset,mark);				model.setLeftBias(true);			}			else			{				model.select(mark,offset);				model.setLeftBias(false);			}		}