I\'m working on a program that launches an applet that will demonstrate how the Extended-Euclid algorithm performs. I have two JTextFields that values will be entered in and
I'm getting a NullPointerException at the line where I set nText = nField.getText();
That probably because you defined nField as both a class variable and a local variable. The problem is that you are trying to reference the class variable which is null.
The solution is to get rid of the class variable.