Thursday, July 3, 2008

Creating NUM_ONLY Text Field using Eclipse SWT

While working on a wizard, I needed to use text fields that accept only numbers. Following is a snippet of what I used. This text field will only accept digits as input. All other inputs (barring a few) are discarded.
blog comments powered by Disqus