Uzyskaj tekst z JTextfield

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