obtenir du texte à partir d'un jtexfield

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