Code example for JTextComponent

Methods: paste

0
        component.cut(); 
    } 
 
    @Override 
    public void paste() { 
        component.paste(); 
    } 
 
    @Override 
    public void select(int start, int end) { 
        component.select(start, end); 
    } 
 
    @Override 
    public void selectAll() { 
        component.selectAll(); 
    } 
 
    @Override 
    public void replaceSelection(String content) {