The user should be able to select the origin and destination of flights, and the display should update to show only flights that satisfy those criteria. The user must be able to describe enter the string value "any" for the origin, destination, or both, so as to implement a wildcard-like feature.
For example, the following argument string would select all records describing flights by the SpeedyAir carrier that originate in San Francisco.
Originally posted by Gurpreet Saini:
I got you. But if I send a string from client like through socket in this way:
Then StringTokenizer class will also be helpfull. But if String is send in this way:
Then you see there are two tokens (ie = and ,) which I think will be problemsome. I had yet not carried out my work with StringTokenizer class. But do suggest me which is the better option to avail out of these two such that specifications requirement can also be retained.
If your answer is option 2. Then I would ask you then what is the use of using JComboBoxes. And if you insist option 1 then I think specifications requirement is not retained. Which is the better way out ?.
Originally posted by Mark Spritzler:
Nate can you show us some code? Make sure you change names so that it isn't your exact SCJD code, as are not allowed to put actual code here as that would break our contract with Sun.