Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Java-JTextField

Reply
Thread Tools

Java-JTextField

 
 
Arumugam Balu via JavaKB.com
Guest
Posts: n/a
 
      03-01-2005
I Want the JTextField to Enter Only the Numbers. Can Any one Find the COde
Send Me.

--
Message posted via http://www.javakb.com
 
Reply With Quote
 
 
 
 
Thomas Weidenfeller
Guest
Posts: n/a
 
      03-01-2005
Arumugam Balu via JavaKB.com wrote:
> I Want the JTextField to Enter Only the Numbers.


JFormattedText field. See the API documentation for details.

> Can Any one Find the COde
> Send Me.


Well, you are supposed to write your own code. This group is not a code
mill.

/Thomas

--
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/...g/java/gui/faq
 
Reply With Quote
 
 
 
 
Real Gagnon
Guest
Posts: n/a
 
      03-01-2005

> I Want the JTextField to Enter Only the Numbers. Can Any one Find the
> COde Send Me.
>


See http://www.rgagnon.com/javadetails/java-0197.html
Bye.
--
Real Gagnon from Quebec, Canada
* Looking for Java or PB snippets ? Visit Real's How-to
* http://www.rgagnon.com/howto.html
 
Reply With Quote
 
Nigel Wade
Guest
Posts: n/a
 
      03-02-2005
Arumugam Balu via JavaKB.com wrote:

> I Want the JTextField to Enter Only the Numbers. Can Any one Find the COde
> Send Me.
>


Not code, no. But a description of how to do it for yourself is here, and is
better for you in the long run anyway:

http://java.sun.com/docs/books/tutor...textfield.html

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : http://www.velocityreviews.com/forums/(E-Mail Removed)
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments