Seen. Wanted to update this topic with another try/catch problem of the same program.
The aim of this method is to show the number of occurrences of user entered number. If the text field is empty, it's supposed to show the number of values currently in the list (only
testing on console for now. Once it is fully functional I will try to add the message in the window so it's visible to the user).
I'm pretty sure the code that is raising the exception is within the try block, yet the exception still goes through.