I imported your code, and the only errors I received when run is an index out of bounds error, (when I clicked one of the buttons,) but that was because you have no values for;
public final String[] PolyIC = {/*stuff*/};
public final String[] PolyIN = {/*stuff*/};
public final String[] PolyII = {/*stuff*/};
So I added some values to the index's above, but then I get a Null Pointer Exception at:
input = null; //JOptionPane.showInputDialog(PolyIC[randNum]);
if (input.equals(PolyIN[randNum])) {
But that is because you assigned null to input.
Is this the same code you ran against?
Note this happend when I clicked on any of the buttons on the dialog, but they were all specific to the method invoked.