Computer Chemistry Consultancy - XML4Pharma, Katzelbachweg 18, A-8052 Thal, Austria,

Try JNumberField

Just try to type a number in the textfield. Also try something invalid, e.g. 124.a12. You will notice that during typing the 'a' is simply not accepted.

Remark that you need to have the Java-2 plugin (which includes Swing) installed in your browser.


Jos Aerts, Computer Chemistry Consultancy, September 2001