Extract values from given Form

后端 未结 3 2090
后悔当初
后悔当初 2021-01-24 01:53

I want to extract values on clicking the button save. Extract values from JTextField and JTable rows and columns. Just want a rough idea h

3条回答
  •  悲&欢浪女
    2021-01-24 02:17

    From the jtextfield you can invoke the getText method to get the contents of the textfield in the form of a String like:

    String myString = textField.getText();
    

提交回复
热议问题