private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        
        F = Double.parseDouble(txtf.getText());
        C = (((F-32)*5)/9);
        txtc.setText(String.valueOf(C));
        
    }//GEN-LAST:event_jButton1ActionPerformed