Ok, I think I understand what you are trying to do... I'll start with some rough psuedocode and see if that helps you understand. (This is just how I would do it, and there are many different ways it can be done)
The actual code for dynamically creating buttons is not too hard... do the buttons need listeners?
The loop will look something like this:
Now, to create the panel, you just need a loop to extract the elements. Depending on which version of Java that you have, you will have to cast the button back when you want to add it to your panel or frame, ie:
myPanel.add((JButton)flightNumbers.get(i)
myPanel.add((JLabel)flightTimes.get(i)
Does that get you going a little?
[ April 28, 2005: Message edited by: C. Alan ]
[ April 28, 2005: Message edited by: C. Alan ]