Welcome to Palindrome

Javafx: type in a word to test if it is spelled the same forward and backwards. Clicking on the try button will test if what you entered is a palindrome. This program uses a recursion method to reverse the order of a string builder. Then uses a different method comparing the original string builder to the reversed one.


Using this GUI is as follows:

1. Click in the textfield to type in a word or phrase. Capitalization does not matter.

2. Press enter on the keyboard or click on the Try button to see if what you typed in is a palindrome. The display will tell you if it is a palindrome or not.

Errors:

1. If the textfield is empty and the Try button is pressed, an error message will be displayed. Please enter a word or phrase to test.