

-----------------------------------

Junaid2pac

Tue Jan 15, 2008 6:25 pm


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


-----------------------------------

Euphoracle

Tue Jan 15, 2008 8:54 pm


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.

