Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    3,905

    Re: Hello everyone! I need help with JTable

    eh, do this instead:

    total += Integer.parseInt(table.getValueAt(n,1).toString());


    I think you can alternatively do:

    total += ((Integer)table.getValueAt(n,1)).intValue());
  2. Replies
    6
    Views
    3,905

    Re: Hello everyone! I need help with JTable

    Ok, I understand what you are saying.

    This is actually quite simple. You know the row directly above the row you are adding to has the total. And you know how much you want to add to that total to...
Results 1 to 2 of 2