get text from a jtextfield

56

get text from a jtextfield -

JTextField yourInpuFieldt = new JTextField(16);
yourInputField.setText("put your text here");  
String x = yourInputField.getText();

Comments

Submit
0 Comments