Thanks for all the help! Found my main problem, still had to switch a few things around in the kelvin methods but the " if " statement on line 107 had a semicolon on the end.
(...
Type: Posts; User: copelandtml
Thanks for all the help! Found my main problem, still had to switch a few things around in the kelvin methods but the " if " statement on line 107 had a semicolon on the end.
(...
Would that just need to be added or would other code need to be removed? It seems to be that the kelvin conversions will only work if numbers are already in the celsius and fahrenheit fields. The...
Okay, thanks for the reply. Would you mind providing some code as an example of how to do that? Also do you see anything wrong with the kelvin either of the kelvin conversion methods that would cause...
here are the import statements:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
heres all the code again including the import statements so it's just one copy and paste:
...
Program seems to be sending the wrong conversions when a temp is entered in the kelvin field. For some reasons changes the kelvin temp value, and also seems to be crashing on random runs when value...
I'm having trouble with the exiting when the user enters quit.
if(userInput == quit)
{
quit program? not sure how I would construct the if statement
}
Hello All, I am brand new the forums and have been working with Java for a few months now.
I have a few questions:
1. How would I go about making a statement that will quit when the user enters...