HOW TO pass the string input in GUI using JTextfield to other class in java.
otherclass.setText (jTextField.getText ());