Article View: borland.public.jbuilder.java.language
Article #17229Re: Format float in Textfield
From: John P. McGrath
Date: Sat, 05 Dec 1998 00:00
Date: Sat, 05 Dec 1998 00:00
21 lines
1055 bytes
1055 bytes
Vasudevan Srinivasan <vasudevan@netrisk.com> wrote: > Mein Name wrote: > > > 1. How can I force a textfield only to accept numeric values? > > 1. One way is to extend the TextField class and handle events > KeyPressed and KeyReleased. Or find some code where someone has already done this. I am pretty sure that there is a masked text field implementation on alphaworks <http://www.alphaworks.ibm.com>. If not, you could try <http://www.gamelan.com> or <http://www.jars.com>. -- Regards, John P. McGrath <mcgrath@enter.net> <jpm@nscs.fast.net>
Technical Details
Message-ID:
<MPG.10d2c9e27cc78b0d989741@forums.inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<740l57$nn32@forums.borland.com> <3667FE35.223D2C9D@netrisk.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,355181bd00043dfe X-Google-Attributes: gidf74b3,public From: mcgrath@enter.net (John P. McGrath) Subject: Re: Format float in Textfield Date: 1998/12/05 Message-ID: <MPG.10d2c9e27cc78b0d989741@forums.inprise.com> X-Deja-AN: 418903092 References: <740l57$nn32@forums.borland.com> <3667FE35.223D2C9D@netrisk.com> Organization: Software Consulting Services Newsgroups: borland.public.jbuilder.java.language