Also i found what was wrong with my code, i found if(a&&b) and if(a||b), this type of evaluation will not occur since the || condition is also true for &&
Type: Posts; User: SamanthaBenny93
Also i found what was wrong with my code, i found if(a&&b) and if(a||b), this type of evaluation will not occur since the || condition is also true for &&
Apologies for posting in the wrong section ...i joined pretty recently..ill take your info into consideration..
if i choose Saloon from the first and Ford from the second combobox
the first if statement with the && operator statements is only suppose to display:
Saloon Ford,MA06XVU
but instead it...
I found the problem but dont know how to solve it
the problem is when this if statement is done
if(scan.contains(combobox[0])&&scan.contains(combobox[1])){
...
Sorry for not being informative.....this code is suppose to read a text file line by line and add to the DefaultlistModel when a an item from a combo box is chosen.....my assignment is to filter the...
I am suppose to read a text file which contains info on cars and i have to display the filtered result on a defaultlistmodel....my code works fine when one combo box is chosen....but wen i give the...