A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
limiting input from a textfield???
Joined: Jan 29, 2001
Feb 21, 2002 02:55:00
How would i do to limit the input for a textfield?
For example, i used the constructor:
tf = new
still it doesn't limit the input(let say 10 characters)??
Joined: Mar 25, 2001
Feb 21, 2002 04:10:00
This may not be exactly what you want, but if you happen to use Swing instead of AWT, there's
that can handle this sort of validation.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: limiting input from a textfield???
Need to limit the text
Input Textfield Background Color When the Cursor Is There
want to set limitation column at textfield/textarea(Urgent)
JTextField set size limit.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015