I imported a String
ArrayList
from a file and I tried to write the first string (position 0) of the array in a JTextField
. The word is not on the text field, instead of it, I have the word <dynamic>
written there.
Here's the code:
txtTEST = new JTextField();
String title =gl.getGL().getBooks().get(0).getTitle();
System.out.println(title);
txtTESTE.setText(title);