code: private void delPoint() {
  		if (!isEnabled()) {
  			return;
  		}
  		
  		if (selected == null) {
  			return;
  		}
  		if (list.indexOf(selected) == 0) {
  			return;
  		}
  		if (list.indexOf(selected) == list.size()-1) {
  			return;
  		}
  		
  		list.remove(selected);
  		sortPoints();
  		repaint(0);
  		fireUpdate();
  	}
docs: Delete the currently selected point