This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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