Question: Task 3 . 1 : Add an ActionEvent on the Search button: o Allow the user to search about item information using the item name
Task : Add an ActionEvent on the Search button:
o Allow the user to search about item information using the item name or part of
the item name and display the quantity and expiry date of the entered item
name in the msg Label.
o If the user clicks on the SearchItem Button, the following must happen:
If the tfSearch TextField is empty
Display Enter the item name to search the information" in the
msg Label.
If there is no items registered
Display No items in the list." in the msg Label.
Otherwise, search on the obItems ObservaleList about the
entered item name or part of it
If the item name found in the obItems
Display The quantity of is: Expire at: in
the msg Label.
if not found
Display The item not found." in the msg Label.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
