Hi,
I was asking me what approach for providing the search functionality is the better one:
a) Use textFields to enter origin and destination airport in search dialog.
b) Use drop down combo boxes for origin and destination airport in search dialog. These ones have to be prefilled with the available origin and destination airports then. An additional distinct like select function to retrieve the column values (loop whole db, fill Set, return set as String[]) has to be provided in Data class.
I believe the b) solution is more user friendly, but probably slower, because distinct select has to loop over whole db. It also increases complexity.
a) is the more simple solution, but probably does not satisfy the needs for a good GUI and HMI ?
What are your opinions on that topic ?
Thanks,
Marco
I was asking me what approach for providing the search functionality is the better one:
a) Use textFields to enter origin and destination airport in search dialog.
b) Use drop down combo boxes for origin and destination airport in search dialog. These ones have to be prefilled with the available origin and destination airports then. An additional distinct like select function to retrieve the column values (loop whole db, fill Set, return set as String[]) has to be provided in Data class.
I believe the b) solution is more user friendly, but probably slower, because distinct select has to loop over whole db. It also increases complexity.
a) is the more simple solution, but probably does not satisfy the needs for a good GUI and HMI ?
What are your opinions on that topic ?
Thanks,
Marco