Tuesday, 3 February 2015

Temperature Convertor Software BY z&c Technologies :-

in just 2.0 $ only

here is the logic of the creating methods for my temperature convertor software:-
if you need any help on this project on java feel free to contact us!

//method logic
 private void jRadioButton1ActionPerformed(java.awt.event.ActionEvent evt) 
       {                                              
       String tx=(String)jComboBox1.getSelectedItem();
        if(jRadioButton1.isSelected()&&tx.equals("Fahrenhite"));
        {
        String text=jTextField1.getText();
        float cel = Float.parseFloat(text);
        float far = (float)(cel * 1.8 + 32);
        jTextField2.setText(" "+far);
       }
     
z&c Technologies

No comments:

Post a Comment