Question: Task 2 . 1 : Add an ActionEvent on the Add button: o To add a new item, user must: 1 - Fill the Item
Task : Add an ActionEvent on the Add button: o To add a new item, user must: Fill the Item Name and Quantity using TextField. Choose the Quantity unit form the ComboBox Select the item Category from the ComboBox Choose the Expiry Date from the DatePicker. Click on the Add Button. o Item name must be added directly as string to obItems ObservableList. o Item quantity and its unit will be combined together in one string before inserting it to the Quantity ObservableList. Example: if the quantity is and the unit is Boxes the quantity must be combined as Boxes before adding it to o'Quantity ObservableList. o Item category must be got from the ComboBox and added directly as string to obC category ObservableList. o The expiry date must be got from the DatePicker then added directly to obEy Date ObservableList.
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
