Results 1 to 2 of 2
  1. #1
    subysri is offline Member
    Join Date
    Mar 2010
    Posts
    1
    Rep Power
    0

    Default Disable copy paste in SWT Text Component

    Hi,

    I'm using SWT Text component. Do someone know how I can prevent copy/paste(both "right click copy paste" and "Ctrl C + ctrl V") operation for the Text component.

    Thanks
    Subha

  2. #2
    madcommu is offline Member
    Join Date
    Sep 2010
    Posts
    5
    Rep Power
    0

    Default

    textfiled.setTransferhandler(null);

    this might resctirct from copying the text from the textfield

Similar Threads

  1. Copy, Cut and Paste Problems!
    By bones in forum New To Java
    Replies: 4
    Last Post: 07-17-2009, 10:18 AM
  2. Cut, copy and Paste in JTextPane
    By Gudradain in forum AWT / Swing
    Replies: 1
    Last Post: 01-03-2009, 06:43 AM
  3. Problems with copy paste
    By fredand44 in forum Eclipse
    Replies: 0
    Last Post: 12-17-2008, 04:14 PM
  4. Replies: 0
    Last Post: 07-07-2008, 04:35 PM
  5. Replies: 0
    Last Post: 02-06-2008, 03:55 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •