Search:

Type: Posts; User: copelandtml

Search: Search took 0.22 seconds.

  1. Replies
    10
    Views
    1,361

    Re: GUI temp converter program troubles

    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.

    (...
  2. Replies
    10
    Views
    1,361

    Re: GUI temp converter program troubles

    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...
  3. Replies
    10
    Views
    1,361

    Re: GUI temp converter program troubles

    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...
  4. Replies
    10
    Views
    1,361

    Re: GUI temp converter program troubles

    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:

    ...
  5. Replies
    10
    Views
    1,361

    GUI temp converter program troubles

    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...
  6. Replies
    6
    Views
    7,007

    Re: How to make a program quit?

    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
    }
  7. Replies
    6
    Views
    7,007

    How to make a program quit?

    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...
Results 1 to 7 of 7