🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to write a VT from TextArea

#8628
From: Joi Ellis
Date: Thu, 03 Aug 2000 00:00
22 lines
1241 bytes
Scott Yaung wrote:
> 
> 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

JTextArea foo = new JTextArea(...);
foo.setEditable(false);


--
Joi Ellis                    Software Engineer
Aravox Technologies          joi@aravox.com, gyles19@visi.com

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
           - Chris Johnson
Technical Details
Message-ID: <3989F1E3.B3648574@aravox.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: Joi Ellis <joi@aravox.com>
Subject: Re: How to write a VT from TextArea
Date: 2000/08/03
Message-ID: <3989F1E3.B3648574@aravox.com>
X-Deja-AN: 654204236
Content-Transfer-Encoding: 7bit
References: <8m3joo$h1c5@bornews.borland.com>
To: Scott Yaung <hypnex@163.net>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Aravox Technologies
Mime-Version: 1.0
Reply-To: joi@aravox.com
Newsgroups: borland.public.jbuilder.java.swing