🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.gui
Article #121

Re: Blank spaces located at both edges in a TextField.

#121
From: R
Date: Sat, 27 Feb 1999 00:00
11 lines
1307 bytes
On Sat, 27 Feb 1999 05:51:08 GMT, sa <thraw_away@bykesite.com> wrote:
>On Fri, 12 Feb 1999 14:10:55 +0100, Luis Miguel Crespo
>>    How Can I eliminate the blank spaces located at both edges in a
>> TextField that don't allow to set the cursor ath the very beginnig
>> and very end of the field.

If you have a handle to a TextField called "t" then you could do:

  t.setText(t.getText().trim());

R.
Technical Details
Message-ID: <slrn7dfbg1.2em.rrrr@mortis.netdoor.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36C4285F.6D42DE52@sdsoftware.es> <36d7885a.23440923@news.sdf.bellsouth.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1116f3,83d154b970c1f398
X-Google-Attributes: gid1116f3,public
X-Google-Thread: 10a146,83d154b970c1f398
X-Google-Attributes: gid10a146,public
X-Google-Thread: 10fd6d,83d154b970c1f398
X-Google-Attributes: gid10fd6d,public
X-Google-Thread: 113ae9,83d154b970c1f398
X-Google-Attributes: gid113ae9,public
From: rrrr@example.org (R)
Subject: Re: Blank spaces located at both edges in a TextField.
Date: 1999/02/27
Message-ID: <slrn7dfbg1.2em.rrrr@mortis.netdoor.com>
X-Deja-AN: 449217485
References: <36C4285F.6D42DE52@sdsoftware.es> <36d7885a.23440923@news.sdf.bellsouth.net>
X-Trace: axe.netdoor.com 920104451 208.137.149.124 (Sat, 27 Feb 1999 02:34:11 CDT)
Organization: R
NNTP-Posting-Date: Sat, 27 Feb 1999 02:34:11 CDT
Newsgroups: comp.lang.java.gui,comp.lang.java.programmer,comp.lang.java.help,es.comp.lenguajes.java