| Author |
TTEXTFIELD in java
|
Anirudh Gaur
Greenhorn
Joined: May 11, 2011
Posts: 5
|
|
|
How to create ttextfield in java?
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
|
What's a "ttextfield"? I googled the term and found a few obscure references, but nothing which looked relevant to "in java".
|
 |
Anirudh Gaur
Greenhorn
Joined: May 11, 2011
Posts: 5
|
|
Paul Clapham wrote:What's a "ttextfield"? I googled the term and found a few obscure references, but nothing which looked relevant to "in java".
I've also found it very difficult to get the meaning of "ttextfield" and what i found out is that it is just like a simple "textfield" but consist of some rules or obligations, such as it will accept only numbers(or only letters) from keyboard, or it can make the small letters entered by users into capital letters...
This is all what i've got...so anyone please help me..
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
If you don't know what it is, then it's pretty hard to tell you how to implement it.
Perhaps you can ask the person who told you to make one of those things what they are and why they made up that name?
Anyway as a general rule to make a JTextField which restricts what can be typed into it, you can use a Formatted Text Field or a Document Listener or Filter.
|
 |
 |
|
|
subject: TTEXTFIELD in java
|
|
|