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.
"Carrier='SpeedyAir',Origin='SFO'"
Originally posted by Gurpreet Saini:
Hi reader,
I got you. But if I send a string from client like through socket in this way:
1) SpeedyAir,SFO,ATX.
Then StringTokenizer class will also be helpfull. But if String is send in this way:
2) carrier=SpeedyAir,origin=SFO,destination=ATX.
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 ?.
thank you,
scwcd, scjd, scjp<br /><a href="http://natejohnson.us" target="_blank" rel="nofollow">http://natejohnson.us</a><br /><a href="http://rice.kuali.org" target="_blank" rel="nofollow">http://rice.kuali.org</a>
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.
Mark
scwcd, scjd, scjp<br /><a href="http://natejohnson.us" target="_blank" rel="nofollow">http://natejohnson.us</a><br /><a href="http://rice.kuali.org" target="_blank" rel="nofollow">http://rice.kuali.org</a>
And inside of my fortune cookie was this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|