/** * Copies the selected contents of this TextField to the {@link Clipboard} implementation set on * this TextField, then removes it. */ public void cut() { if (hasSelection) { copy(); delete(); } }