Hello forum, I am making use of NetBeans
IDE 8.0 to build a GUI. The idea is that I set multiple values received from textfields to textarea. This will enable me print the work. But ONLY ONE value from textfields is set(appear on textarea); the others do not appear at all. Please, who knows the cause? What can I do to resolve this? Below is example of what I mean:
String s = jTextField1.getText();
JTextArea1.setText(s);
String x =
jTextField2.getText();
JTextArea1.setText(x);
NOTE: Only one is being set. The rest are not. It's annoying. Help!