Uses GUI input to find the reverse of an integer