🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JTextField Question

#7720
From: Gerald Nunn
Date: Thu, 04 Jan 2001 23:21
15 lines
1234 bytes
replaceSelection should do it.

Gerald

"James A. Schulz" <jaschulz@wiseware.com> wrote in message
news:932stj$a3d7@bornews.inprise.com...
> I need to (programatically) insert a single character in the text of a
> JTextField (at the current caret position) but I can't see how to do this.
> Can anyone help?
>
> thanks,
>
> James
>
>
Technical Details
Message-ID: <9330n9$akv7@bornews.inprise.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail
References: <932stj$a3d7@bornews.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,5384f362d6ac411f
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2001-01-04 15:30:25 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail
From: "Gerald Nunn" <gnunn@workbrain.com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: JTextField Question
Date: Thu, 4 Jan 2001 18:21:55 -0500
Organization: Another Netscape Collabra Server User
Lines: 17
Message-ID: <9330n9$akv7@bornews.inprise.com>
References: <932stj$a3d7@bornews.inprise.com>
NNTP-Posting-Host: 216.191.94.34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400