🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Masked edit control?

#8245
From: John McGrath TeamB
Date: Fri, 06 Oct 2000 00:00
17 lines
1109 bytes
On Thu, 05 Oct 2000 08:30:14 GMT, Shoban Jeyaraj wrote:

> Is there some sort of a masked edit control in swing where
> I can specify a mask like XXX-XXX-XXXX which means that it
> should accept three groups of characters separated by '-'?

There is nothing built in to Swing for masked edits.  You could certainly 
write your own, and there are libraries available that handle this.  One 
that comes to mind is JClass Field.  I am sure there are others.

-- 
Regards,
John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.144742ca461cc638989bda@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39dc3bab.351511406@192.168.27.10>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,7b9406905c7722ae
X-Google-Attributes: gid111d45,public
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Subject: Re: Masked edit control?
Date: 2000/10/06
Message-ID: <MPG.144742ca461cc638989bda@forums.borland.com>
X-Deja-AN: 678198072
References: <39dc3bab.351511406@192.168.27.10>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing