hi Lindsey,
u want,
hope this helps....
sorry ...u told that i shoudn't post the code in earlier post but i am unable to explain otherwise..
here u will need dynamic list (
String[]) as you don't know how many flights matches your input.
now u can't do that just using String[]. so u have two options now,
1. use Vector of String (which can have dynamic elements added to it)
2. use some other structure to store dynamic listing
Vector would be little complex as you need String[] as return value of the method.
java.awt.List sounds wiered but thats what i 've used so many times as it provides flexibility. no other
Java class allows us to just go on adding string in String format AND retrieve the list by just one method call, which is list.getItems() in this case.
regards
maulin.