Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Disabled Control V (Paste) in a JTextPane

807605Sep 11 2007 — edited Sep 12 2007
I need to know how I can disabled Control V (PASTE) so no one can paste any text in a JTextPane. I already have a button that is doing the action of pasting and I dont want users to use Control V in this control.

Any help will be appreciated.
Thanks
Wilfer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 10 2007
Added on Sep 11 2007
8 comments
847 views