Hello, We are developing one text editor using JTextPane, here I got one problem in copy and paste??? That is, if I copy and paste the text: that�s right. ==> thats right. please help how to eleminate this problem?? -kannan
posted 13 years ago
I tried the same ..it works fine if it's been copied to notepad.where as it will result in to ' for when you copied to Java realted to String.you could eliminate this by prefending \ for ',hope this solves problem. I don't know whether it's an elegant answer.i am gald if i would be helpful. Ex: "TextPane's" problem must go like >> "TextPane\'s"