List of usage examples for javafx.scene.control TextField paste
public void paste()
From source file:com.bekwam.mavenpomupdater.MenuBarDelegate.java
public void copy() { if (log.isDebugEnabled()) { log.debug("[COPY]"); }//from ww w . j a v a 2s. c o m TextField focusedTF = getFocusedTextField(); focusedTF.paste(); }
From source file:com.bekwam.mavenpomupdater.MenuBarDelegate.java
public void paste() { if (log.isDebugEnabled()) { log.debug("[PASTE]"); }/* ww w . ja v a 2s . c o m*/ if (!systemClipboard.hasContent(DataFormat.PLAIN_TEXT)) { adjustForEmptyClipboard(); return; } TextField focusedTF = getFocusedTextField(); focusedTF.paste(); }