startField.selectAll();
endField.selectAll();
    private void endSelectionHandler()    {    	double s = model.getWindowStart();    	double val = Double.parseDouble(endField.getText());        if (val == model.getWindowEnd()) return;    	if (startFieldValid())    	{    		controller.setInputInterval(s, val, true);    		onCurveChange();    	}    	else    	{    		startField.selectAll();            UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier();            un.notifyInfo("Invalid pixels intensity interval",                     "["+val+","+s+"]");    	}    }