Search:

Type: Posts; User: dande

Search: Search took 0.29 seconds.

  1. Replies
    13
    Views
    1,688

    Gettin closer to the goal

    Exception in thread "main" java.lang.NumberFormatException: For input string: "S"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at...
  2. Replies
    13
    Views
    1,688

    Re: JOptionPane Stops working after user input

    No I am still working on it ..Thank you ..
    It is wanting me to make the variables data type =string. so I have to convert to int.. this is quite difficult...
    public final static double radius...
  3. Replies
    13
    Views
    1,688

    Re: JOptionPane Stops working after user input

    Thank you so much, I am going to take a break and look at this and see what I can come up with.

    --- Update ---



    import java.lang.String.*; // For toUpperCase()
    import...
  4. Replies
    13
    Views
    1,688

    Still stalling

    import java.util.*; // For Scanner
    import java.lang.String.*; // For toUpperCase()
    import javax.swing.JOptionPane; // for cute lil java windows

    public class CaculateAreaOpt {
    // Declare all...
  5. Replies
    13
    Views
    1,688

    Re: JOptionPane Stops working after user input

    It stops when the user enters the choice "c" "r" or "s"
    I put the JOptionPane on the error statement at the end.. still its stopping and not coming up with any kind of an error

    --- Update ---
    ...
  6. Replies
    13
    Views
    1,688

    Re: JOptionPane Stops working after user input

    when i use the println() it works perfectly but I am supposed to use the JOptionPane
  7. Replies
    13
    Views
    1,688

    JOptionPane Stops working after user input

    It works to the point that the user inputs "c" "s" or "r" then it does nothing else ? I can get it to run in my terminal window but when I try to get the JoptionPane windows to work it freezes up.
    ...
Results 1 to 7 of 7