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