🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to write a VT from TextArea

#8622
From: Jeroen Zwartepoorte
Date: Thu, 03 Aug 2000 00:00
17 lines
945 bytes
Very simple hack:

Overwrite the copy(), paste() methods in JTextArea to do nothing.

Jeroen

"Scott Yaung" <hypnex@163.net> wrote in message
news:8m3joo$h1c5@bornews.borland.com...
> Hi ,
>   I like to write a VT in Java ,
> and I found it is quite hard to prevent the Copy-Paste
> actions ,what should I do to avoid ,copy-paste change my textarea
> text.
> B.R.
> Scott
>
>
Technical Details
Message-ID: <8mbq6f$3he6@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8m3joo$h1c5@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c9f2964a596b1c44
X-Google-Attributes: gid111d45,public
From: "Jeroen Zwartepoorte" <Jeroen@xs4all.nl>
Subject: Re: How to write a VT from TextArea
Date: 2000/08/03
Message-ID: <8mbq6f$3he6@bornews.borland.com>
X-Deja-AN: 654009745
References: <8m3joo$h1c5@bornews.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing