This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
hi, When I design the GUI ,I use the ComboBox for user to choose the origin and dest.But need I get the item(such as sfo,lhr ) from the RemoteData or just write it directly.
Joined: Jan 30, 2002
Hi Ray, I would say you probably need to pull it from the db and not assume the list of airports will be constant. I used a Set to hold each criterion for the search mechanism. Everytime the table data was updated, the new data was sent to these Sets and added, keeping them up to date. Hope this helps, Michael Morris