Search:

Type: Posts; User: mrowkoob

Search: Search took 0.27 seconds.

  1. Replies
    2
    Views
    497

    Re: Loops and conditionals

    In your codes, your 'while' statement is missing.. that makes an error because a do loop must be paired with a while statement at the bottom... supplying the while statement you can control the loop...
  2. Re: java.lang.ArrayIndexOutOfBoundsException - huh?

    Your getting java.lang.ArrayIndexOutOfBoundsException because of your variable one.. you initialize it with a value 1.. so When the condition is satisfied the value of your variable one will be...
  3. Re: Won't display calculated fahrenheit and celsius when running.

    Your welcome... I don't know the exact output you want it to be.. It was not stated well in you problem.:confused:
  4. Re: Won't display calculated fahrenheit and celsius when running.

    I tried running your program.. and I got this result:
    Ex.

    Temperature 1 in Kelvin is 303.15
    Temperature 1 in Ceslius is 0.0
    Temperature 1 in Fahrenheit is 0.0

    Temperature 2 in Kelvin is...
  5. Re: how to set my frame in the middle of the screen

    Definitely... using the method setLocationRelativeTo(null) will set the position of your frame at the center.
Results 1 to 5 of 6