private void pasteText(){
        if(activField.equals("textArea"))
            textArea.insert(pasteFromClipboard(),textArea.getCaretPosition());
        if(activField.equals("fieldNameFile"))
            fieldNameFile.setText(pasteFromClipboard());
        if(activField.equals("fieldCommandLine"))
            fieldCommandLine.setText(pasteFromClipboard());
    }