Celcius to Fahrenheit
<p>I can convert from fahrenheit to celcius, but not the other way around.  I have attached the code below.  Hopefully it's enough to see what is going on.</p>

<pre><code>    public void actionPerformed(ActionEvent arg0) {  
        double temps = 0, temp1 = 0;  
        String instrings;  
        instrings = temp.getText();  
        if(instrings.equals(""))  
        {  
            instrings = "0";  
            temp.setText("0");  
        }  
        temps = Double.parseDouble(instrings);  
        instrings = temp.getText();  
        if(instrings.equals(""))  
        {  
            instrings = "0";  
            temp.setText("0");  
        }  
        temp1 = Double.parseDouble(instrings);  
        if(arg0.getActionCommand().equals("C")){  
             temps = (( temps * 9)/5+32);  
             DecimalFormat formatters = new DecimalFormat("#,###,###.###");  
            results.setText(""+formatters.format(temps));  
        }  
        else if(arg0.getActionCommand().equals("F"));  
        {  
             temp1 = (((temps - 32)/9)*5);  
             DecimalFormat formatters = new DecimalFormat("#,###,###.###");  
            results.setText(""+formatters.format(temp1));  
        }  
    }
</code></pre>
