System.out.println()
does have a return value, thus you cannot use it to set a value. What it does is write to the console.
To set a value in a textfield use the setText(), without the System.out.println
System.out.println()
does have a return value, thus you cannot use it to set a value. What it does is write to the console.
To set a value in a textfield use the setText(), without the System.out.println