how do i declare them? i tried
JFrame aList[] = new JFrame();
and it didn;t work, searched and looked @ the API doc with little/no help. any ideas?
Printable View
how do i declare them? i tried
JFrame aList[] = new JFrame();
and it didn;t work, searched and looked @ the API doc with little/no help. any ideas?
JFrame aList[] = new JFrame[SIZE];
or
JFrame [] aList = new JFrame[SIZE];
i have to define a size???? :( stupid project!
thankx pers
yeah, the size of the array. if you want it to be dynamic then store the JFrame's in a vector as they are created.Quote:
Originally posted by Commander
i have to define a size???? :( stupid project!
thankx pers
the vector class is obsolete
erm, java.util.Vector is not obsolete.Quote:
Originally posted by jman
the vector class is obsolete
thanx 4 the vector tip pers.
appreciate it