Example: get text from a jtextfield JTextField yourInpuFieldt = new JTextField(16); yourInputField.setText("put your text here"); String x = yourInputField.
確定! 回上一頁