Type: Posts; User: Cornix
You could also use a JSpinner. These might be better suited when dealing with numbers as input.