Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started