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

Try JIntegerField

Just try to type an integer number in the textfield. Also try something invalid, e.g. 124a12. 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