Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Ok so when i execute my GUI program, i get an exceptional error message that say

ID: 3544680 • Letter: O

Question

Ok so when i execute my GUI program, i get an exceptional error message that says: For input string: "4234123422244486" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source)


My program is supposed to validate a credit card number of the card holder and see if it is valid or invalid Using the Luhn Algorithm, the methods are done in my Data Manager Class and i have called them into my GUI Driver class file


GUI Driver Class:




Data Manager Class:



Is my execution proper in my actionListener method or am i missing a method?

Explanation / Answer

Hi,


Could u please share your project files ?

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote