Welcome to the Ranch
I edited your code to add
code tags, remove the worst of the
long lines and excess blank lines.
You should do that infuture: doesn't it look better
Also, you should write // before a comment not //////.
Unfortunately you have lots of code to read, and the message in the screenshot is illegible. Please
copy and paste the message about that Exception because otherwise we cannot help.
I can see some problems in the code. You are mixing logic and display code in the same class. Don't. Write a class which accesses your database and call its methods from the action listener. Remove the if-elses from the action performed method. If it is necessary to have a different field depending on which radio button is enabled, and use action listeners on the radio buttons to set that field.
Make sure your arrays have the right capacity. If you have a No 7 element in a result set, that means there are at least 7 results, numbered 1‑7. If you have a No 7 element in an array, the array must have at least 8 elements numbered 0‑7.