🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8066

Re: how to disable Copy & Paste??

#8066
From: Tor Iver Wilhelmsen
Date: Wed, 22 Nov 2000 00:00
7 lines
821 bytes
Thomas Aichernig <Thomas.Aichernig@aon.at> writes:

> I would like to disable pasting for a component derived from JTextField.
> If this is not possible, it would also be ok to disable it for the whole
> application.

Try calling unregisterKeyboardAction(KeyStroke.getKeyStroke(...
Technical Details
Message-ID: <un1eshyeh.fsf@sds.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3A1A7210.6F328C6@aon.at> <MPG.148503b55624b1d0989d56@forums.borland.com> <3A1BB71E.F290E9CE@aon.at>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,4d003462c0cbd857
X-Google-Attributes: gid111d45,public
From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Subject: Re: how to disable Copy & Paste??
Date: 2000/11/22
Message-ID: <un1eshyeh.fsf@sds.no>
X-Deja-AN: 696662079
Sender: towi@SDSA1761
References: <3A1A7210.6F328C6@aon.at> <MPG.148503b55624b1d0989d56@forums.borland.com> <3A1BB71E.F290E9CE@aon.at>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing