A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Applets
Author
JTextField input....
robin singal
Ranch Hand
Joined: Jul 18, 2007
Posts: 102
posted
Jul 28, 2007 08:19:00
0
hi
i have a
JTextField
and want only integer input in it using setText() method.
So what do i put in setText to do that??
for decimal input i used : taxChrBusTxt.setText(taxDecFormatter.format(chrBusInc));
taxDecFormatter is object of type
DecimalFormat
...
thanks
Life is short play hard.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35438
9
posted
Jul 29, 2007 09:19:00
0
Duplicate of
this thread
.
Android apps
–
ImageJ plugins
–
Java web charts
I agree. Here's the link:
http://aspose.com/file-tools
subject: JTextField input....
Similar Threads
JTextField input....
First Japplet and having issue refreshing output
Putting data into JTextField
setting text in a JTextField
JTextField does not refresh
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter