int line = model.yToLine(evt.getY()); int start = model.getLineStartOffset(line); int end = model.getLineEndOffset(line) - 1; model.select(start,end);
doTripleClick(evt,line,offset,dot);
		public void mousePressed(MouseEvent evt)		{			int offset = model.xyToOffset(evt.getX(),evt.getY());			switch(evt.getClickCount())			{			case 1:				if((evt.getModifiers() & InputEvent.SHIFT_MASK) != 0)					model.setSelectionEnd(offset);				else					model.setCaretPosition(offset);			case 2:				break;			case 3:				int line = model.yToLine(evt.getY());				int start = model.getLineStartOffset(line);				int end = model.getLineEndOffset(line) - 1;				model.select(start,end);				break;			}		}