Find out all of the prime numbers determined by what the user inputs in the JFrame text field.