JAVA: Replacing a character in JTextArea, given a specific row and col
<p>I am writing a program which interprets a Befunge(93) program.<br>
As you know, Befunge has special command, 'p'.<br>
This command puts some given (by the program itself) character into the 'codespace' itself, for which I am curious about this very problem.<br>
I have made all the other things done well, including the execution of the command 'p'.<br>
<strong>But I couldn't make the codespace (which I implemented with a JTextArea) dynamically interact with 'p' code.</strong>  </p>

<p>I mean, when the Befunge program begins to run, I save the JTextArea into a 80*25 char array, and all the operations are done in the array.<br>
The 'p' command, also is operated only internally, merely replacing a character on the array. (and not the source JTextArea)</p>

<p>I want to visualize the change of the codespace, so I am asking:</p>

<p><strong>How do you replace a character at, say (2, 3), in a JTextArea, with another character?</strong></p>
