Search:

Type: Posts; User: william

Search: Search took 0.10 seconds.

  1. Replies
    14
    Views
    1,606

    [SOLVED] Re: NullPointerException

    if each row is a jPanel and each jPanel has 7 text fields in them you have 15 jPanels and only 12 of them have 7 text fields (12 *7 = 84) I would assume that your only going to write to the panels...
  2. Replies
    14
    Views
    1,606

    [SOLVED] Re: NullPointerException

    I think you have the right idea just backwards.
    take the pannel for loop and add 7 text fields as a for loop

    so something like this:


    for(int i = 0; i < 15; i++){
    // panel start up code
    ...
  3. Replies
    14
    Views
    1,606

    [SOLVED] Re: NullPointerException

    not sure what the logic is here maybe you can explain:



    for (int i = 0; i < 74; i++) {

    for (int a = 3; a > 14; a++) {
    System.out.println("a is " + a);
    ...
  4. Replies
    14
    Views
    1,606

    [SOLVED] Re: NullPointerException

    wow if i had a nickel for every null pointer issue i would be rich...

    Look at this section of your code and tell me what you see



    for (int i = 0; i > 74; i++) {
Results 1 to 4 of 4