I want to save the value out of a TextField in an Array. But i think i do something wrong, may someone be so nice and could take a look on my code sniplet ?
//Array
Carl[0]=jNumberFieldAE.getInt();
Carl[1]=jNumberFieldIT.getInt();
Carl[2]=jNumberFieldWIG.getInt();
Carl[3]=jNumberFieldPol.getInt();
Carl[4]=jNumberFieldRel.getInt();
Carl[5]=jNumberFieldE.getInt();
Carl[6]=jNumberFieldDeutsch.getInt();
Carl[7]=jTextFieldName.getText();
Is .getText(); not right ?
Array are fixed length, Size of array cannot be modified and cant have different type. Make it an arraylist and add dynamically.
If you still need array convert List to Array