Hello Any one know whats the operation that is invoked when we click the middle mouse buttom. if select some text and click on middle mouse button the selected Text is pasted in a JTextPane. *** I want to disable the paste operation. i override the paste method but still its getting pasted, even after a setEditable(false) for that JTextPane component. any help will be apprciated. thanks
Good luck for Certfication.
posted 14 years ago
this looks like bug...what i expect is it must not paste if u make it editable flase.try setEnabled(false)....may be this works...