I need to convert a TextArea to a String, and the replace the letter "a" in the string by a "f";
I have:
JTextArea Text1 = new JTextArea();
String Text2;
???????? here's where i convert the textarea to a srting ??????????
Text2 = null;
Text2 = Text1.replaceAl l("a", "e");
I haved tried:
String Text2 = CriptoText.getE lementById("Tex t1");
Thank you for your help
I have:
JTextArea Text1 = new JTextArea();
String Text2;
???????? here's where i convert the textarea to a srting ??????????
Text2 = null;
Text2 = Text1.replaceAl l("a", "e");
I haved tried:
String Text2 = CriptoText.getE lementById("Tex t1");
Thank you for your help
Comment