To explain my intention, lets take a look into a portion of my code:
As shown above, basically, I am trying to insert <br> instead of <p> whenever the user press return. I have tried input :
to the JTextPane, then display the result to the JTextArea, what I get is
I am really confused!!??!?!?
Please help!
Eric Low
SCJP2