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?
This is a discussion on a java quesion: JFrame arrays within the A Brief History of Cprogramming.com forums, part of the Community Boards category; how do i declare them? i tried JFrame aList[] = new JFrame(); and it didn;t work, searched and looked @ ...
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?
oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!
MSN :: commander_android@hotmail.com []*[]
JFrame aList[] = new JFrame[SIZE];
or
JFrame [] aList = new JFrame[SIZE];
i have to define a size????stupid project!
thankx pers
oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!
MSN :: commander_android@hotmail.com []*[]
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.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.Originally posted by jman
the vector class is obsolete
thanx 4 the vector tip pers.
appreciate it
oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!
MSN :: commander_android@hotmail.com []*[]