To disable copy and past you can remove the operations from the action map 
/ input map.

At 02:26 AM 9/27/2001 +0900, Ryuichiro Toda wrote:
>Hello, Bharat.
>
>Try to use this method.
>
>(JTextField object).enableInputMethods(false);
>
>But this code can't disable copy and paste. If you'd like to restrict this
>operation, You have to handle the events.


John Zukowski, Strategic Java Consulting
JZ Ventures, Inc. - http://www.jzventures.com
Java Collections - http://www.apress.com/catalog/book/1893115925/
The limits of my language are the limits of my world. - Wittgenstein


_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to