Need help with loading data - varying number of JPanels
Hello,
I'm having trouble loading information from my array of stuctures. Im reading data from a website into an array of Objects, and I only want to initialize however many JPanels are needed for the data I have, which is varying.
For example, the data Im reading in may have anywere from 3 to 20 soccer matches, each match in its own soccerGame Object. I only want to display as many matches as are stored in my array of soccerGame Objects.
I have tried to use the pre and post initialization fields in Netbeans, but they don't seem to do what I want.
Any suggestions?
Thanks!

