ceyesuma -4 Posting Pro

Is there a difference when filling JTextField.setText();

nameTemp=t.getNodeName();
JTextField.setText(nameTemp);

and

nameTemp="The text";
JTextField.setText(nameTemp);

The node name will not fill the text field.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.