This applet prints all positive prime integers between user-supplied lower bound and upper bound.
The Source Code.