When I run this it will display the two inputs together. For example 1 + 2 will come out to 12. I know that this string has to somehow be changed to an integer but I am lost on how to do so. Any help is greatly appreciated.
private void
jButton5ActionPerformed(java.awt.event.ActionEvent evt) {
jLabel1.setText (String.valueOf(jTextField1.getText() +
jTextField2.getText()));