view.getEditor().selectAll();
view.editor.selectAll();
    private void editorActionHandler()    {        //playerUIMng.stopTimer();    //freeze        boolean valid = false;        int val = Player.FPS_MIN;        try {            val = Integer.parseInt(view.getEditor().getText());            if (Player.FPS_MIN <= val && val <= maxValue) {                valid = true;            } else if (val < Player.FPS_MIN) {                val = Player.FPS_MIN;                valid = true;            } else if (val > maxValue) {                val = maxValue;                valid = true;            }        } catch(NumberFormatException nfe) {}        if (valid) synchSpinner(val);          else {            view.getEditor().selectAll();            UserNotifier un = registry.getUserNotifier();            un.notifyInfo("Invalid value", "Please enter a value " +                    "between "+Player.FPS_MIN+" and "+maxValue);        }    } 