🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Number Mask for JTextField

#10561
From: Cali
Date: Wed, 08 Sep 1999 00:00
6 lines
769 bytes
Is there a data mask I can use for editing numbers displayed in a JTextField
object?  I know how to parse and format the input data using NumberFormat,
but a user can later enter in non-numeric data.  The possibilities I have
seen for this area look like they are not intended for Swing components.

Thanks for any help.
Technical Details
Message-ID: <7r6sen$m6q15@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b96cc8251fdd8160,start
X-Google-Attributes: gid111d45,public
From: "Cali" <ccali@iBASEt.com>
Subject: Number Mask for JTextField
Date: 1999/09/08
Message-ID: <7r6sen$m6q15@forums.borland.com>
X-Deja-AN: 522731242
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Newsgroups: borland.public.jbuilder.java.swing