hi rob. tnx for the reply. i would be very happy to learn the easy way to do what i am doing. i know that i could make a class to check if the value of the JTextField is of integer value or not. The problem is that on the rangeTxtField, i should validate the following inputs:
0...999 (meaning all)
1 - 10 (meaning items 1 to 10)
and any other valid integer values. (single item entry)
So you see, my problem is with the first two types of entry.
Thanks in advance for your help and reply.
jacq