Number popup improved to use min and max value.
Javadoc.