Make jtext field better
Author |
Message |
Junaid2pac
|
Posted: Tue Jan 15, 2008 6:25 pm Post subject: Make jtext field better |
|
|
i have a jtext field in my program but am wondering how i can make it so u can only enter numbers and decimals |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Euphoracle
![](http://compsci.ca/v3/uploads/user_avatars/11170373664bf5f25f636f1.png)
|
Posted: Tue Jan 15, 2008 8:54 pm Post subject: RE:Make jtext field better |
|
|
Perhaps there is an event you can hook into to filter characters. I know there's one for Windows Forms, Swing should be similar if it follows a similar design. |
|
|
|
|
![](images/spacer.gif) |
|
|