class Actions {
//to cut the selected text
public void cut(){
n.getTextComponent().cut();
}
//to copy the selected text
public void copy(){
n.getTextComponent().copy();
}
//to paste the selected text
public void paste(){
n.getTextComponent().paste();
}
//to select all the text
public void selectAll(){
n.getTextComponent().selectAll();
}
}