Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please can you help me with Java FX only code Lab Exercise: Detecting a palindrome A palindrome is a sequence that reads the same both

image text in transcribed

image text in transcribed

please can you help me with Java FX only code

Lab Exercise: Detecting a palindrome A palindrome is a sequence that reads the same both forward and backward. Examples of a few famous one are able was I ere I saw elba Rise to vote, sir note: the punctuation must be removed and letter case change to either upper or lower. Madam in Eden, I'm Adam note: the punctuation must be removed and letter case change to either upper or lower. And some not so famous, more mundane racecar abcabcbacba noon 123454321 23 + 32 Create a program, called PalindromeDetector, with the following features 1. It should be GUI and have the following final look: This is a Palendrome Enter your sequence of character racecar Case Option White Space Option Ignore Case Ignore WhiteSpace With Case With WhiteSpace Clear Evalutate Punctuation Option Ignore Punctuation With Punctuation 2. Implement the method isPalindrome(String s) that returns a Boolean value indicating if the argument passed to it is a palindrome of not. This must be a recursive methods (no loops) 3. Notice that there are three sets of options to be settable. The proper methods should be added to make these functional. It is recommended that the String be modified before sending to the isPalindrome method. 4. The color of the final label should change colors depending of the result. For example, GUI requirements: Window must be titled. Radio buttons: Each pair of radio buttons must be exclusive. The clear button must clear the phrase entry text field and neutralize the evaluation label (gray it out). A change listener should be on the radio buttons so that when they are changed the appropriate methods are called. Test Case: Indicate below the test cases you used to test you solution This is not a plaendrome Enter your sequence of character racecars Case Option White Space Option Ignore Case Ignore WhiteSpace With Case With WhiteSpace Clear Evalutate Punctuation Option Ignore Punctuation With Punctuation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions