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.....
Type: Posts; User: macko
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.....
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...
ok thanks ill look into it first think in the morning.
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++)...
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 <...
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...
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...
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)
...