[Solved] Error: incompatible types


JTextField and String are not the same thing. You probably want to get the value from the text field like arrayWoord[0] = letterVeld1.getText().

Also, you should store the letterVelds in an array and just do for (int i = 0; i < 10; i++) arrayWoord[i] = letterVelds[i].getText().

solved Error: incompatible types