Ok.. what I'm doing is taking text from a JTextField, and putting it into a String array.
Starray[0] = text1.getText();
Starray[1] = text2.getText();
Every thing works fine until this line is executed, and I get a NullPointerException. Is there something I'm doing wrong here or what?
Starray[0] = text1.getText();
Starray[1] = text2.getText();
Every thing works fine until this line is executed, and I get a NullPointerException. Is there something I'm doing wrong here or what?