I have to get the path of a directory from Java Text field and store it on another string variable but it needs the code of java to add/insert \
after the colon :
character.
String folderFath="D:\TF";
I need to add \
after the :
character. I need to get string variable D:\\TF