Search:

Type: Posts; User: 3therk1ll

Search: Search took 0.07 seconds.

  1. Replies
    8
    Views
    2,275

    Re: Integer.parseInt problem

    Urgh, I'm a dick, I got it now, cheers for the help, I wasn't declaring turning the parsed string into another variable and declaring it as an int.


    String number1 = JOptionPane.showInputDialog(...
  2. Replies
    8
    Views
    2,275

    Re: Integer.parseInt problem

    Urgh, I'm a dick, I got it now, cheers for the help, I wasn't declaring turning the parsed string into another variable and declaring it as an int.

    String number1 = JOptionPane.showInputDialog(...
  3. Replies
    8
    Views
    2,275

    Re: Integer.parseInt problem

    I thought the point of it was to parse a string for integers.
  4. Replies
    8
    Views
    2,275

    Re: Integer.parseInt problem

    Thanks for the reply dude.
    I am using the string message because I thought the idea was to read a string and filter out the integers from that string.
    Not using catch because I'm just working my...
  5. Replies
    8
    Views
    2,275

    Integer.parseInt problem

    Hi guys, working through the Deitel Java book and am stumped on one of the cases they give, with no examples, I've tried Googling around but with no success.
    The program is just a simple GUI to...
Results 1 to 5 of 5