Search:

Type: Posts; User: macko

Search: Search took 0.12 seconds.

  1. Replies
    14
    Views
    1,592

    [SOLVED] Re: NullPointerException

    O-o i suppose it is. and its simply making 75 text boxes, once the textbox letter x reaches 45 it will add +1 to the panel. in which it willt hen post the next 7 textboxes onto the next panel etc.....
  2. Replies
    14
    Views
    1,592

    [SOLVED] Re: NullPointerException

    also another simple solution to post 7 text boxes per panel using all of the 75 text boxes would be a code similar to this within the for loop:


    if(x == 6 || x == 13 || x == 20 || x == 27 || x...
  3. Replies
    14
    Views
    1,592

    [SOLVED] Re: NullPointerException

    ok thanks ill look into it first think in the morning.
  4. Replies
    14
    Views
    1,592

    [SOLVED] Re: NullPointerException

    only thing i dont understand is how to actualy use the for loop to display 7 text boxes per panel, in the above picture each row is a seperate panel. if i were to use

    for(int j = 0 ; j < 7; j++)...
  5. Replies
    14
    Views
    1,592

    [SOLVED] Re: NullPointerException

    ok thanks mate ill tackle the rest myself. im just tired:P to much coding this week. ive fixed the display error up bu simple changing

    for(int a = 3; a < 15; a++)

    to

    for(int a = 3; a <...
  6. Replies
    14
    Views
    1,592

    [SOLVED] Re: NullPointerException

    wi have 15 panels. stored them in a panel array. 75 JTextFields which are in the txtBox array. the first for loop is suppose todisplay txtBox in the current panel (a) from the second for loop. as...
  7. Replies
    14
    Views
    1,592

    [SOLVED] Re: NullPointerException

    ye ive just debuged and found its stopping at that line. altho its trying to shove 74 textfields into the first panel of the next for loop. altho it cannot execute any code as that for loop only...
  8. Replies
    14
    Views
    1,592

    [SOLVED] NullPointerException

    Here is my error:

    at java.awt.Container.add(Unknown Source)
    at frmClient.panelSetup(frmClient.java:117)
    at frmClient.<init>(frmClient.java:65)
    at frmClient.main(frmClient.java:48)


    ...
Results 1 to 8 of 8